Sha256: 077bb60bbcb50947a37e972e47894c280757696f4b23f58780e261aacb94282b
Contents?: true
Size: 594 Bytes
Versions: 4
Compression:
Stored size: 594 Bytes
Contents
require "rails" require 'testing/rspec' class PowerEnum < Rails::Engine config.autoload_paths << File.expand_path(File.join(__FILE__, "../")) initializer 'power_enum' do ActiveSupport.on_load(:active_record) do include PowerEnum::Enumerated include PowerEnum::HasEnumerated include PowerEnum::Reflection ActiveRecord::ConnectionAdapters.module_eval do include PowerEnum::Schema::SchemaStatements end ActiveRecord::Migration::CommandRecorder.class_eval do include PowerEnum::Migration::CommandRecorder end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
power_enum-1.3.1 | lib/power_enum.rb |
power_enum-1.3.0 | lib/power_enum.rb |
power_enum-1.2.0 | lib/power_enum.rb |
power_enum-1.1.2 | lib/power_enum.rb |