I am a member of Steve’s team (he posted last month about the 1.2
1st Thanks for the amazing work to James! Engines is an amazing piece
To the question then:
I would need to be able to override a Rails Initializer method
I noticed that the rails_initializer.rb file contains the
Engine::RailsExtensions::RailsInitializer which, according to its
comment, attempts to override 3 Initializer methods.
I therefore tried to put my “modified” version of find_plugins using the
conventions found in the Engine::RailsExtensions::RailsInitializer:
using ‘alias_method chain’ : find_plugins, :engine_additions
writing a method called ‘find_plugins_with_engine_additions’ with a
slightly modified body.
The problem is that it doesn’t seem to be invoked at any time (neither
Could you let me know how and where it should be invoked / included to
overwrite this Initializer method