Sha256: 5755bb979c24d1be4e27063f599e6ac5e004a7af2bec01640a325ea49da9ea1f

Contents?: true

Size: 256 Bytes

Versions: 4

Compression:

Stored size: 256 Bytes

Contents

module ActiveRecordSlave #:nodoc:
  class Railtie < Rails::Railtie #:nodoc:

    # Initialize ActiveRecordSlave
    initializer "load active_record_slave" , :after=>"active_record.initialize_database" do
      ActiveRecordSlave.install!
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_record_slave-1.1.0 lib/active_record_slave/railtie.rb
active_record_slave-1.0.0 lib/active_record_slave/railtie.rb
active_record_slave-0.2.0 lib/active_record_slave/railtie.rb
active_record_slave-0.1.0 lib/active_record_slave/railtie.rb