4dc05bc8a9
Active Record does not explode with RecordNotFound if you go looking for a collection of objects - it just returns nil. Thus Active Resource should also not explode. After all - finding no objects that match a set of conditions is not exceptional behaviour - unlike looking for a specific object with a given id (which you'd expect to exist). I've also added documentation to +find+ to reflect this. Signed-off-by: Joshua Peek <josh@joshpeek.com> |
||
---|---|---|
.. | ||
cases | ||
fixtures | ||
abstract_unit.rb | ||
connection_test.rb | ||
setter_trap.rb |