Dynamically modifying run-time behavior by replacing program elements with new program elements
Lets use a real world example. I want to monkey patch WillPaginate::LinkRenderer.to_html method. So far I have …
ruby-on-rails monkeypatchingI want to alter I18n.translate method in existing project. require 'I18n' module I18n alias_method :old_…
ruby-on-rails-3 monkeypatching rails-i18n