need some help understanding forms...


the text_field helper, takes a syntax such as :

  text_field("post", "title", "size" => 20), which will build for you
the following html.
     <input type="text" id="post_title" name="post[title]" size="20"
value="#{@post.title}" />

Which when received by your controller will give you a params hash as:


sending the above prams to a Post model,
p =[:post]) will initialize the title method of p(a
Post instantiation) with the value typed in the html form.

You should read about helpers here:
and this explanation of params should be useful: http://

enjoy the ride koloa!