class Article
has_many Comments
end
class Comments
belongs_to Article
end
# Logic for importing Comments and Ratings
a = Article.find_by_name(name)
a.comments = comments # comments list gets saved.
# I want to delay this
#
# some other logic
#
Article.transaction
# save Comments
# save Ratings
end
In the above example how do I disable the auto saving of comments collection?