cancan/spec
Tyler Gannon f6aaa581ef can? should only go to db if there are mongoid criteria in the conditions.
Easier to just do a simple comparison on the object in memory
than to search the database.  Also this allows method calls
and other attributes that might not be found in the database.
2010-11-15 19:43:54 -08:00
..
cancan can? should only go to db if there are mongoid criteria in the conditions. 2010-11-15 19:43:54 -08:00
matchers.rb adding Gemfile, to get specs running just bundle and rake - closes #163 2010-10-05 10:09:37 -07:00
spec_helper.rb can? should only go to db if there are mongoid criteria in the conditions. 2010-11-15 19:43:54 -08:00
spec.opts passing a hash to can? will check permissions on association, this is done automatically in authorize_resource - closes #121 2010-09-03 11:01:55 -07:00