lib/ab_admin/engine.rb in ab_admin-0.6.0 vs lib/ab_admin/engine.rb in ab_admin-0.6.1
- old
+ new
@@ -16,9 +16,10 @@
ActiveRecord::Base.send :include, AbAdmin::Concerns::Utilities
ActiveRecord::Base.send :include, AbAdmin::Concerns::Silencer
ActiveRecord::Base.send :extend, AbAdmin::Concerns::Silencer
ActiveRecord::Base.send :include, AbAdmin::Concerns::Validations
ActiveRecord::Base.send :include, AbAdmin::Concerns::Fileuploads
+ ActiveRecord::Base.send :extend, EnumField::EnumeratedAttribute
end
ActiveSupport.on_load :action_mailer do
ActionMailer::Base.send :include, AbAdmin::Mailers::Helpers
end