Skip to content
This repository

Jul 21, 2010

  1. Ryan Bates

    removing extra white space at end of lines

    authored

Jul 20, 2010

  1. Ryan Bates

    refactoring query.conditions

    authored
  2. Ryan Bates

    removing need to pass tableize option around for query conditions

    authored
  3. Ryan Bates

    extracting out Query class for generating sql conditions and associat…

    …ion joins
    authored
  4. Ryan Bates

    refactoring can definition matching behavior

    authored

Jul 19, 2010

  1. Ryan Bates

    merging with master and resolving a couple conflicts

    authored
  2. Ryan Bates

    supporting deeply nested aliases - closes #98

    authored

May 25, 2010

  1. fix logic error for single `cannot` condition - it should return no r…

    …ecords
    Yura Sokolov authored
  2. can accept array for sql sanitizing in conditions

    Yura Sokolov authored
  3. CanDefinition#only_block?

    Yura Sokolov authored
  4. fix error with single cannot condition

    Yura Sokolov authored

May 24, 2010

  1. small refactoring: CanDefinition #definitive? #conditions_empty?

    Yura Sokolov authored
  2. Merge remote branch 'upstream/master'

    Conflicts:
    	lib/cancan/ability.rb
    	lib/cancan/active_record_additions.rb
    	lib/cancan/can_definition.rb
    	spec/cancan/ability_spec.rb
    Yura Sokolov authored

May 21, 2010

  1. Ryan Bates

    improving inline documentation

    authored

May 20, 2010

  1. Logan Raarup

    Make sure conditions on associations are pluralized

    logandk authored committed

May 16, 2010

  1. Sokolov Yura

    passing throw matching rules with not matching conditions

    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>

Apr 21, 2010

  1. Ryan Bates

    adding joins clause to accessible_by when conditions are across assoc…

    …iations
    authored

Apr 20, 2010

  1. Ryan Bates

    can has cheezburger? (thanks Seivan)

    authored

Apr 18, 2010

  1. Ryan Bates

    removing unused methods and a bit more refactoring

    authored
  2. Ryan Bates

    refactoring much of Ability class into separate CanDefinition class

    authored

Apr 17, 2010

  1. Ryan Bates

    supporting arrays, ranges, and nested hashes in ability conditions

    authored

Apr 16, 2010

  1. Ryan Bates

    allow access to classes when using hash conditions since you'll gener…

    …ally want to narrow it down with a database query
    authored
  2. Ryan Bates

    removing apparently unnecessary user attr_accessor in Ability

    authored
  3. Ryan Bates

    renaming noun to subject internally

    authored
  4. Ryan Bates

    renaming ActiveRecordAdditions#can method to accessible_by since it f…

    …lows better and makes more sense
    authored
  5. Ryan Bates

    default ActiveRecordAdditions#can method action to :read and use 'sco…

    …ped' if 'where' is not available
    authored

Apr 15, 2010

  1. Ryan Bates

    adding conditions behavior to Ability#can and fetch with Ability#cond…

    …itions - closes #53
    authored
  2. Ryan Bates

    adding documentation for passing additional arguments to can?

    authored
  3. Ryan Bates

    support additional arguments to can? which get passed to the block - …

    …closes #48
    authored

Dec 31, 2009

  1. Ryan Bates

    Adding clear_aliased_actions to Ability which removes previously defi…

    …ned actions including defaults
    authored
  2. Ryan Bates

    Append aliased actions (don't overwrite them) - closes #20

    authored

Nov 26, 2009

  1. Ryan Bates

    calling controller's load_resource and authorize_resource from load_a…

    …nd_authorize_resource to maintain backwards compatability, even though it's not the most efficient way
    authored
  2. Ryan Bates

    refactoring ability can? method - closes #12

    authored

Nov 25, 2009

  1. Ryan Bates

    adding cannot method to define which abilities cannot be done - closes

    authored
  2. Ryan Bates

    support custom objects (usually symbols) in can definition - closes #8

    authored
Something went wrong with that request. Please try again.