Sha256: af0b2768e1095efcf12a85650ce8cf6c78873d54210929c5610424bbe51d75a5

Contents?: true

Size: 264 Bytes

Versions: 2

Compression:

Stored size: 264 Bytes

Contents

class Samsara::Railtie < Rails::Railtie
  initializer 'samsara.initialize' do

    ActiveSupport.on_load(:active_record) do
      include Samsara::Model
    end

    ActiveSupport.on_load(:action_controller) do
      include Samsara::Controller
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
samsara-0.0.3 lib/samsara/railtie.rb
samsara-0.0.2 lib/samsara/railtie.rb