lib/power_enum.rb in power_enum-0.4.4 vs lib/power_enum.rb in power_enum-0.4.5
- old
+ new
@@ -5,9 +5,10 @@
initializer 'power_enum' do
ActiveSupport.on_load(:active_record) do
include ActiveRecord::Acts::Enumerated
include ActiveRecord::Aggregations::HasEnumerated
+ include PowerEnum::Reflection
ActiveRecord::ConnectionAdapters.module_eval do
include PowerEnum::Schema::SchemaStatements
end