Right now I have renamed it to passwordtext but originally it was password. I wrote about its behavior when named as password.
Regards Sumit Srivastava The power of imagination makes us infinite... On 27 July 2012 19:39, Michael Pavling <pavl...@gmail.com> wrote: > On 27 July 2012 11:52, sumit srivastava <sumit.theinvinci...@gmail.com> > wrote: > > That might be another solution. But what I am trying to know is why isn't > > this method working. And how is the action def password=(pass) actually > > being called. Because I didn't see any exclusive line where it is being > > called. My analysis says it is being executed because of the > attr_accessor > > and having name same as that of the column password. > > Which accessor? The only accessor you have is passwordtext. > > -- > 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 rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.