Two ways the good and the bad : Good:
url: /author/1/book/new BookController new @author = Author.find(params[:author_id]) @book = @author.books.new or (not so good) BookController @author = Author.find(params[:author]) @book = Book.new @book.author = @author Should work too... --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---

