Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
6 lines (5 sloc) 209 Bytes
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.