Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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. removing unauthorized! in favor of authorize! and including more info…

    authored
    …rmation in AccessDenied exception - closes #40
  3. renaming ActiveRecordAdditions#can method to accessible_by since it f…

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

    authored
    …ped' if 'where' is not available
  5. adding can method to Active Record for fetching records matching a sp…

    authored
    …ecific ability, still needs documentation
Commits on Apr 15, 2010
  1. renaming :class option to :resource for load_and_authorize_resource w…

    authored
    …hich now supports a symbol for non models - closes #45
  2. allow additional arguments for be_able_to matcher, this requires Ruby…

    authored
    … 1.8.7 or higher to use matcher
  3. @dchelimsky

    add be_able_to matcher

    dchelimsky authored committed
  4. @dchelimsky

    simplify paths

    dchelimsky authored committed
Commits on Dec 31, 2009
  1. Adding clear_aliased_actions to Ability which removes previously defi…

    authored
    …ned actions including defaults
Commits on Dec 15, 2009
Commits on Dec 14, 2009
  1. Adding :class option to load_resource so one can customize which clas…

    authored
    …s to use for the model - closes #17
  2. Don't fetch parent of nested resource if *_id parameter is missing so…

    authored
    … it works with shallow nested routes - closes #14
Commits on Dec 13, 2009
  1. Adding :collection and :new options to load_resource method so we can…

    authored
    … specify behavior of additional actions if needed.
  2. turning load and authorize resource methods into class methods which …

    authored
    …set up the before filter so they can accept additional arguments
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
Commits on Nov 18, 2009
Commits on Nov 17, 2009
  1. BACKWARDS INCOMPATIBLE: use Ability#initialize instead of 'prepare' t…

    authored
    …o set up abilities - closes #4
  2. moving can definition into ability instance instead of class, this re…

    authored
    …moves ugly instance_exec command
Something went wrong with that request. Please try again.