Displaying 1 result from an estimated 1 matches for "authorship_id".
Did you mean:
authorship_ids
2006 Dec 20
7
has_many :through does it support collection_singular_ids ?
...:books, :through => : authorships
end
Should I be able to do the following?
Author.find(:first).book_ids = [1,2,3]
I ask, because it doesn''t. The docs state that it should, but it
doesn''t specialise in the case of a :through
This works fine BTW:
Author.find(:first).authorship_ids = [12,13]
Do I really need to find and add (<<) my associated join models for
books one by one?
-christos
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to th...