Top "Monkeypatching" questions

Dynamically modifying run-time behavior by replacing program elements with new program elements

How to Monkey Patch in Ruby on Rails?

Lets use a real world example. I want to monkey patch WillPaginate::LinkRenderer.to_html method. So far I have …

ruby-on-rails monkeypatching
Monkey patch module method

I want to alter I18n.translate method in existing project. require 'I18n' module I18n alias_method :old_…

ruby-on-rails-3 monkeypatching rails-i18n