I agree with this. Submit the patch. If he says no, fork the plugin yourself on github and maintain it. :)
On Wed, Mar 11, 2009 at 6:50 PM, Phlip <[email protected]> wrote: > > Daly wrote: >> 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 that >> may have a bearing on the issue? > > Edit the plugin. It's your source. > > Submit what you did to its maintainer... > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

