Displaying 1 result from an estimated 1 matches for "castellazzi".
Did you mean:
castellani
2007 Oct 03
3
Why does error_messages_for take string as param?
Hi,
I wonder why error_messages_for take strings as params instead of
instance variables.
error_messages_for ''user''
instead of
error_messages_for @user
''user'' is translated into @user eventually.
If so, who not take the instance variables directly?
Is there any reason for that?
Thanks in advance.
Sam
--
Posted via http://www.ruby-forum.com/.