Devin M wrote: > An example of relationships between models would be appricated. I am > trying to use a post and comment system as well and have my models set > up so a post has_many :comments and a comment belongs_to :post. Is > there any examples for these types of relationships? Im new to ruby > and just trying to get the basics down. > > Thanks, > Devin M
Here: http://railsbrain.com/api/rails-2.3.2/doc/index.html On the left, enter "has_many" and take a look at the documentation. It's got a lot of examples-- and if you don't understand these, then we'll explain them to you :) -- Posted via http://www.ruby-forum.com/. -- 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.

