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
Couldn't find User with ID=1
rubyonrails-talk
1
260
September 16, 2007
why does unsuccesful find throw an exception?
rubyonrails-talk
2
156
September 9, 2006
Handling ActiveRecord::RecordNotFound errors
rubyonrails-talk
0
176
August 11, 2008
Dynamic Finders Return nil
rubyonrails-core
0
117
August 5, 2012
Dynamic Finders don't give Exceptions? Or I can't get any...
rubyonrails-talk
3
135
January 11, 2008