Frederick Cheung wrote:
> 
> @status needs to be an association proxy, not the raw ProjectStatus
> object. easiest way out is problably to alias_method the old status=
> method so that you can call it easily from  your status= method.
> 
> Fred

Doesn't alias_method and alias_method_chain only work from within a 
module? This is in an ActiveRecord class.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to