search for: 8c92805e

Displaying 1 result from an estimated 1 matches for "8c92805e".

2006 Feb 22
3
Listing/Relationship Question
Hello, I know this is probably super simple, but for some reason I just can''t get it! What I want to do is click on a post and display all the categories that the post is in. class Post < ActiveRecord::Base has_many :categories end class Category < ActiveRecord::Base belongs_to :post end ...simple enough. In the categories_controller I have this: def list_all_categories