Sha256: 0e375e4979a6a4fa6e8e64267909b89f5fe269185d40474a4587ca1ae23a8882

Contents?: true

Size: 465 Bytes

Versions: 1

Compression:

Stored size: 465 Bytes

Contents

module Views
  class Railtie < Rails::Railtie

    initializer 'views.extensions' do
      ::ActiveRecord::Migration::CommandRecorder.include(
        Views::Extensions::ActiveRecord::CommandRecorder
      )
      ::ActiveRecord::ConnectionAdapters::AbstractAdapter.include(
        Views::Extensions::ActiveRecord::AbstractAdapter
      )
      ::ActiveRecord::SchemaDumper.prepend(
        Views::Extensions::ActiveRecord::SchemaDumper
      )
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
views-4.0.0.0 lib/views/railtie.rb