search for: blogcategori

Displaying 1 result from an estimated 1 matches for "blogcategori".

Did you mean: blogcategory
2006 Jan 23
5
Undefined method error
Hi everybody, Small problem. I get this error: undefined method `all_categories'' for BlogCategory:Class Code of BlogCategory class is: class BlogCategory < ActiveRecord::Base has_and_belongs_to_many :blog_posts validates_presence_of :name validates_uniqueness_of :name # Return all categories ordered by name def all_categories find :all, :order =>