Displaying 1 result from an estimated 1 matches for "aeld".
Did you mean:
ael
2009 Mar 11
6
Monkey Patching a Plugin
I am using a plugin that adds a method to ActiveRecord::Base. The
added method is called self.create_or_update. I need to monkey patch
this method. I tried in lib/ config/initializers and in
environment.rb, but the one in the plugin is always the one that is
run.
Where do I put my version of the method so that it overrides that of
the plugin? I only use this method when running a rake task, so