Sha256: a8929768ad565726cf2cb32e28e6a117530284fec0969f77c82af3fa4d1940fa

Contents?: true

Size: 329 Bytes

Versions: 2

Compression:

Stored size: 329 Bytes

Contents

module Economy
  class Railtie < Rails::Railtie

    initializer 'economy.extensions' do
      # Prevent deprecation warning
      require 'economy/exchange'

      ::ActiveRecord::Base.include(
        Economy::Extensions::ActiveRecord::Base
      )
    end

    rake_tasks do
      load 'tasks/economy.rake'
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
economy-4.0.1.0 lib/economy/railtie.rb
economy-4.0.0.0 lib/economy/railtie.rb