Something I'm doing works magically in Rails and I'm trying to figure
Lets say I have a Post model which has many Comments
Within my Comment model I have this:
self.create(:title => "title")
Then I do this:
Rails creates a new Comment with a post_id of 6... How does it know to
do this!? Where does it get the correct post_id from?
This has really been puzzling me.
Thanks a lot