Have you tried using a <%= text_field("movie", "name") %> tag?
(Notice the square brackets after the object name). The resulting
html, when submitted, maps to a params object that contains a hash of
hashes. You can then use the following code to do an update: