search for: activitycategori

Displaying 1 result from an estimated 1 matches for "activitycategori".

Did you mean: activitycategory
2006 Apr 11
1
error using find() method "couldn''t find"
I get the following error-message: "Couldn''t find Activitycategory with ID=1" How do I make RoR handle this error? When the id is nog found he should return a string or 0 or whatever. I''m guessing by using exceptions but I''m not very familiar with ruby itself ... Help? Steven. -- Posted via http://www.ruby-forum.com/.