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/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Feb 19, 8:06 pm, Ralph Shnelvar <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> 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 viahttp://www.ruby-forum.com/.This is how all of the form helper methods are. The FormBuilder object automatically handles the first object_name argument for you. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Reasonably Related Threads
- How do i switch off error wrapping for a specific field?
- Outputing to the browser, how?
- ActionView::Helpers::FormHelper instance methods should take an object reference rather than an object_name.
- dash symbol
- Setting default value in text_field/password_field