ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Rolling with Ruby on Rails
Subject:   Errors in the end
Date:   2006-10-04 05:02:32
From:   rudyOnTheTrain
Response to: Errors in the end

@recipe.category_id points to the foreign_key in the table recipe called category_id,so it makes perfect sense. @recipe.category.id points to a column that doesn`t exist in the table recipe.