Displaying 1 result from an estimated 1 matches for "name_of_your_controller_here".
2006 Jun 28
2
models @ data extraction
I''m building my first webapp...
I have db tables "users" and "posts". Model for user is "has_many
:posts". Model for post is "belongs_to :user"
In a slightly modified scaffold I can list all the posts and which user
wrote them (/post/list), but want to link the username to a list of
posts by that user.
How do I accomplish that?
Sorry for the