lib/feeder/engine.rb in feeder-0.1.0 vs lib/feeder/engine.rb in feeder-0.2.0
- old
+ new
@@ -1,5 +1,10 @@
+require 'rails-observers'
+
module Feeder
class Engine < ::Rails::Engine
isolate_namespace Feeder
+
+ config.active_record.observers ||= []
+ config.active_record.observers << 'Feeder::FeedableObserver'
end
end