I have FamiliesController with these actions:
def edit
@family=Family.find(params[:id])
end
def update
@family=Family.find(params[:i
Rails does not support alphanumeric IDs by default, it expects an integer.
If you need to make the IDs alphanumeric, you need to make some changes. Please look at the following resources:
Altering the primary key in Rails to be a string
http://railscasts.com/episodes/63-model-name-in-url-revised
http://railscasts.com/episodes/314-pretty-urls-with-friendlyid