Ruby on Rails Discussions
ActiveRecord find exceptions
rubyonrails-talk
Rick_Olson
(Rick Olson)
January 3, 2007, 3:35pm
1
if record = Record.find_by_id 1 record.foo end
Related topics
Topic
Replies
Views
Activity
why does unsuccesful find throw an exception?
rubyonrails-talk
2
155
September 9, 2006
Couldn't find User with ID=1
rubyonrails-talk
1
258
September 16, 2007
Handling ActiveRecord::RecordNotFound errors
rubyonrails-talk
0
164
August 11, 2008
Dynamic Finders don't give Exceptions? Or I can't get any...
rubyonrails-talk
3
133
January 11, 2008
ActiveRecord::RecordNotFound error
rubyonrails-talk
0
88
May 8, 2007