A Rails 1.2.x plugin to add find! and find_by_NAME! methods that raise RecordNotFound exceptions instead of returning nil
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
README
init.rb

README

Whiny Finder
============

Adds a `find!` method to ActiveRecord::Base as well as `find_by_#{field}!`. Both
of these will raise ActiveRecord::RecordNotFound instead of returning nil if no
records are returned.