search for: book_publish

Displaying 1 result from an estimated 1 matches for "book_publish".

Did you mean: book_publisher
2006 Apr 11
2
Mapping contained objects to forms?
I''m having lots of trouble trying to map an object that contains another object to the right forms param. So say I have Book which has one Publisher. Here is what I''ve tried: <p><label for="book_publisher">Publisher</label><br/> <%= text_field ''book'', ''publisher.name'' %> </p> Then <p><label for="book_publisher">Publisher</label><br/> <%= text_field ''book'', ''publishe...