Article:
  Rolling with Ruby on Rails, Part 2
Subject:   Error?
Date:   2005-06-04 16:21:57
From:   Meindert
Response to: Error?

Add this method to the class RecipeController:

def initialize
@categories = Category.find_all
end

From now on @categories will be defined when new.rhtml comes up.