Module: ClickhouseActiverecord
- Defined in:
- lib/clickhouse-activerecord.rb,
lib/clickhouse-activerecord/tasks.rb,
lib/clickhouse-activerecord/schema.rb,
lib/clickhouse-activerecord/railtie.rb,
lib/clickhouse-activerecord/version.rb,
lib/clickhouse-activerecord/schema_dumper.rb
Defined Under Namespace
Classes: Railtie, Schema, SchemaDumper, Tasks
Constant Summary collapse
- VERSION =
'1.2.1'
Class Method Summary collapse
Class Method Details
.load ⇒ Object
23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/clickhouse-activerecord.rb', line 23 def self.load ActiveRecord::InternalMetadata.prepend(CoreExtensions::ActiveRecord::InternalMetadata) ActiveRecord::Migration::CommandRecorder.include(CoreExtensions::ActiveRecord::Migration::CommandRecorder) ActiveRecord::Relation.prepend(CoreExtensions::ActiveRecord::Relation) ActiveRecord::SchemaMigration.prepend(CoreExtensions::ActiveRecord::SchemaMigration) Arel::Nodes::SelectCore.prepend(CoreExtensions::Arel::Nodes::SelectCore) Arel::Nodes::SelectStatement.prepend(CoreExtensions::Arel::Nodes::SelectStatement) Arel::SelectManager.prepend(CoreExtensions::Arel::SelectManager) Arel::Table.prepend(CoreExtensions::Arel::Table) end |