cancan/lib/cancan
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
..
ability.rb adding a couple things to the changelog 2010-10-05 12:00:50 -07:00
active_record_additions.rb refactoring query.conditions 2010-07-20 16:00:22 -07:00
can_definition.rb adding a couple things to the changelog 2010-10-05 12:00:50 -07:00
controller_additions.rb updating readme and documentation 2010-10-05 16:18:35 -07:00
controller_resource.rb use 'send' to access controller current_ability in case it's private 2010-09-23 11:58:55 -07:00
exceptions.rb filling in some inline documentation for 1.4 2010-09-03 16:19:39 -07:00
inherited_resource.rb Controllers which use 'inherit_resources' instead of Inheritance may have inherited_resource's methods protected 2010-09-17 06:40:15 +08:00
matchers.rb use RSpec namespace for matcher - closes #119 2010-08-18 16:22:43 -07:00
mongoid_additions.rb can? should only go to db if there are mongoid criteria in the conditions. 2010-11-15 19:43:54 -08:00
query.rb fixing error on protected sanitize_sql - closes #111 2010-08-06 23:24:04 -07:00