Sha256: a7e09273c0941531ab109ab4625ae4aac196578315e6a603576b436cb4c2a71b

Contents?: true

Size: 249 Bytes

Versions: 3

Compression:

Stored size: 249 Bytes

Contents

require 'camaraderie'
require 'rails'

module Camaraderie
  class Railtie < Rails::Railtie
    initializer 'camaraderie.active_record' do |app|
      ActiveSupport.on_load :active_record, {}, &Camaraderie.inject_into_active_record
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
camaraderie-0.2 lib/camaraderie/railtie.rb
camaraderie-0.1.3 lib/camaraderie/railtie.rb
camaraderie-0.1.2 lib/camaraderie/railtie.rb