peritor/simply_stored — pull request #21 by showaltb (2011-11-22 22:15:35+00:00)
Title: Fix problem with find(:first) not accepting options

Model.find(:first, options) does not pass the options along to the view. This breaks Model.last, because the {:order => :desc} is not passed along, so Model.first and Model.last both return the same row. Also Model.last(options) does not pass the options along.

This branch fixes those and updates test coverage.