Personally I end up using this option a good deal: User.find(:first, :options=>{:id=> 1})
When you know that you're looking for just one instance it's simply easier to test for nil than to test for an empty array.
Personally I end up using this option a good deal: User.find(:first, :options=>{:id=> 1})
When you know that you're looking for just one instance it's simply easier to test for nil than to test for an empty array.