simply_stored
simply_stored copied to clipboard
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.