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

advertisement

AddThis Social Bookmark Button
Article:
  Rolling with Ruby on Rails
Subject:   ActiveRecord::RecordNotFound in RecipeController#show
Date:   2006-12-11 14:49:15
From:   curth
Response to: ActiveRecord::RecordNotFound in RecipeController#show

Just make sure your create a integer field named "id" (all lower case) that is auto-increment and primary the key.