Sha256: 18ddb1203ae516e0f141c386a41d77bcf72cd31603b5ac048f1ae64e209d398b

Contents?: true

Size: 557 Bytes

Versions: 12

Compression:

Stored size: 557 Bytes

Contents

module DBViewCTI

  def self.load
    ActiveRecord::ConnectionAdapters::AbstractAdapter.module_eval do
      include DBViewCTI::ConnectionAdapters::SchemaStatements
    end

    ActiveRecord::SchemaDumper.class_eval do
      include DBViewCTI::SchemaDumper
    end

    if defined?(ActiveRecord::Migration::CommandRecorder)
      ActiveRecord::Migration::CommandRecorder.class_eval do
        include DBViewCTI::Migration::CommandRecorder
      end
    end

    ActiveRecord::Base.class_eval do
      include DBViewCTI::Model::Extensions
    end
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
dbview_cti-0.2.3 lib/db_view_cti/loader.rb
dbview_cti-0.2.2 lib/db_view_cti/loader.rb
dbview_cti-0.2.1 lib/db_view_cti/loader.rb
dbview_cti-0.2.0 lib/db_view_cti/loader.rb
dbview_cti-0.1.5 lib/db_view_cti/loader.rb
dbview_cti-0.1.4 lib/db_view_cti/loader.rb
dbview_cti-0.1.3 lib/db_view_cti/loader.rb
dbview_cti-0.1.2 lib/db_view_cti/loader.rb
dbview_cti-0.1.1 lib/db_view_cti/loader.rb
dbview_cti-0.1.0 lib/db_view_cti/loader.rb
dbview_cti-0.0.3 lib/db_view_cti/loader.rb
dbview_cti-0.0.2 lib/db_view_cti/loader.rb