Hi there, I have an author model and a book model.
I'm trying to create a "add new book" link for each author from the authors index page, that would point to a new book page, with the the author select field already "selected" to the good option. the author select in the new book form is created with collection_select(). I don't know how to pass such a variable in a url using rails url schema. I've looked in the link_to documentation, but nothing about this specific case. any help would be greatly appreciated, thanks in advance. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---