himanshu asked:

nitro form

Tags: 0.40

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

(1 attempts)

Kashia answered:

See

For how to use the new form helper.

Look at

for general help on how to migrate to 0.40.

As a sidenote:

The new Nitro version is called 0.40, not 0.4. Nitros version scheme began with 0.1 and now has 40 revisions, hence the 0.40.

Rating: