Re: Problem with RoR''s controller getting too large

John Postlethwait
Thu, 03 May 2007 00:03:32 -0000

Helpers and model associations (has_many, belongs_to, etc) may be what
you could look in-to for the future. You could then do something like:

post = Post.find(:first)
post.comments

A post model can have many comments (has _many :comments) giving you
access to those comments through the associations in the models.

On May 1, 11:49 pm, shurain
<shur...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> My thoughts have been settled, thx everyone.