Sha256: 298268b93325589b8299e65d746891eaa0839ed114bd8118427b6ec6c9dbdb09

Contents?: true

Size: 316 Bytes

Versions: 1

Compression:

Stored size: 316 Bytes

Contents

require "rails"

class PowerEnum < Rails::Engine
  config.autoload_paths << File.expand_path(File.join(__FILE__, "../"))

  initializer 'power_enum' do
    ActiveSupport.on_load(:active_record) do
      include ActiveRecord::Acts::Enumerated
      include ActiveRecord::Aggregations::HasEnumerated
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
power_enum-0.2.5 lib/power_enum.rb