ryanb/cancan — pull request #705 by albertobajo (2012-07-30 21:31:21+00:00)
Title: Fixed load_resource "find_by" in mongoid resources

Latest versions of Mongoid supports "find_by" query, but syntax is slightly different than Active Record.

http://mongoid.org/en/mongoid/docs/querying.html#queries

Without this patch I could not use "find_by" option in load_and_authorize_resource filter.