formhelper password_field only takes two arguments

1 view
Skip to first unread message

Ralph Shnelvar

unread,
Feb 19, 2010, 8:06:00 PM2/19/10
to rubyonra...@googlegroups.com
When I look at the docs, password_field seems to take 3 arguments.

So when I 'play around" with things and I attempt to pass three
arguments to password_field ... I get an error saying that it only takes
two parameters ("3 for 2")

I am totally lost.
--
Posted via http://www.ruby-forum.com/.

pharrington

unread,
Feb 20, 2010, 5:12:53 PM2/20/10
to Ruby on Rails: Talk

This is how all of the form helper methods are. The FormBuilder object
automatically handles the first object_name argument for you.

Reply all
Reply to author
Forward
0 new messages