Ruby on Rails Discussions
saving second order association with ActiveRecord
rubyonrails-talk
August_Lilleaas
(August Lilleaas)
January 19, 2007, 10:11am
1
Yes =D
And if a book has_one :author, you can go
@book
= Book.find(1) and then
@book.author.new
.