From: MaggotChild Date: 2009-09-24T06:50:06+09:00 Subject: Re: Monkey Patching 2 Methods, Overrides One Method, Not The Other On Sep 17, 5:02 am, "David A. Black" wrote: > I think I'd have to see > code that exhibits the problem you're describing in order to analyze This is suited for the Rails group, but the problem can be seen in its simplest form here: #config/initializers/ar_attributes.rb module ActiveRecord module AttributeMethods alias_method :ar_read_attribute, :read_attribute def read_attribute(attr_name) p "read_override" ar_read_attribute(attr_name) end alias_method :ar_write_attribute, :write_attribute def write_attribute(attr_name, value) raise 'You made it!' end end end In the Rails console: >> person.read_attribute :name "read_override" => "Joe" >> person.write_attribute :name, "Bilal" => "Bilal" >> person.read_attribute :name "read_override" => "Bilal"