class Chapter < ActiveRecord::Base
  has_many :recipes
  
  def recipe_count
    Recipe.find(:all, :conditions => ['chapter_id = ?', 1]).length
  end
end