Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 21, 2010
Commits on Jul 20, 2010
  1. refactoring query.conditions

    authored
Commits on Jul 19, 2010
Commits on May 25, 2010
  1. can accept array for sql sanitizing in conditions

    Yura Sokolov authored
  2. CanDefinition#only_block?

    Yura Sokolov authored
  3. fix error with single cannot condition

    Yura Sokolov authored
Commits on May 24, 2010
  1. Merge remote branch 'upstream/master'

    Yura Sokolov authored
    Conflicts:
    	lib/cancan/ability.rb
    	lib/cancan/active_record_additions.rb
    	lib/cancan/can_definition.rb
    	spec/cancan/ability_spec.rb
Commits on May 21, 2010
  1. improving inline documentation

    authored
Commits on May 20, 2010
  1. Logan Raarup

    Make sure conditions on associations are pluralized

    logandk authored committed
Commits on May 16, 2010
  1. Sokolov Yura

    passing throw matching rules with not matching conditions

    funny-falcon authored
    Main goal is to allow:
    
    cannot :manage, :all
    can :read, :all
    can :manage, User, :id=>user.id
    can :manage, User, :manager_id=>user.id
    
    Signed-off-by: Sokolov Yura <funny.falcon@gmail.com>
Commits on Apr 21, 2010
Commits on Apr 20, 2010
Commits on Apr 18, 2010
Commits on Apr 17, 2010
Commits on Apr 16, 2010
  1. allow access to classes when using hash conditions since you'll gener…

    authored
    …ally want to narrow it down with a database query
  2. renaming ActiveRecordAdditions#can method to accessible_by since it f…

    authored
    …lows better and makes more sense
  3. default ActiveRecordAdditions#can method action to :read and use 'sco…

    authored
    …ped' if 'where' is not available
Commits on Apr 15, 2010
Commits on Dec 31, 2009
  1. Adding clear_aliased_actions to Ability which removes previously defi…

    authored
    …ned actions including defaults
Commits on Nov 26, 2009
  1. calling controller's load_resource and authorize_resource from load_a…

    authored
    …nd_authorize_resource to maintain backwards compatability, even though it's not the most efficient way
Commits on Nov 25, 2009
Something went wrong with that request. Please try again.