On 8/29/06, Tim Lucas <[EMAIL PROTECTED]> wrote:
Wouldn't it be better to have a finder option to specify you want an
exception thrown if there's no record found?

I'd prefer a bang! method.  I think it's a good indication that there should be separate 'loading' and 'finding' API -- passing ever more options to find is getting weary.

Loading a unique record from the database is semantically different than finding a record that meets some criteria and it could be treated as such.

jeremy

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/rubyonrails-core
-~----------~----~----~----~------~----~------~--~---

Reply via email to