created on 04 Dec 2006, by Unknown IP Address, read more…
I was trying out tutotial from nitroproject.org with Nitro 0.4. In that tutorial, there is one form, to search for Users. User has three properties: name,description and age. In my xhtml page, to display current users, i wanted to add one form to search for users. so I added this line: #{formfor User.findby_name(@name)} and in controller I added helper :form, but it didnot work. The page doesnt display the form. It says undefined method 'formfor'. How can I solve this in Nitro 0.4?
Thanks