Sha256: 86fcd8ca552c6ff3a8ddd223dce9f7d2bb42cc4626636ffbef807028ef130f2d

Contents?: true

Size: 203 Bytes

Versions: 5

Compression:

Stored size: 203 Bytes

Contents

module CanBe
  class Railtie < Rails::Railtie
    initializer 'can_be.model_additions' do
      ActiveSupport.on_load :active_record do
        include CanBe::ModelExtensions
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
can_be-0.4.0 lib/can_be/railtie.rb
can_be-0.3.0 lib/can_be/railtie.rb
can_be-0.2.1 lib/can_be/railtie.rb
can_be-0.2.0 lib/can_be/railtie.rb
can_be-0.1.0 lib/can_be/railtie.rb