I\'ve created an Engine which is basically used for all of our projects.
Now what I want to do is add a before_create callback to all of the models in this
before_create
In engines, instead of application.rb you should use lib/[engine_name]/engine.rb
application.rb
lib/[engine_name]/engine.rb
Also, if you create observer inside an engine, you need to namespace it.