Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 21, 2011
  1. @manuelmeurer

    Fixed typos.

    manuelmeurer authored
  2. The first try to make cancan pass on Travis CI

    beawesomeinstead authored
Commits on Jul 20, 2011
  1. @skhisma
  2. Added the needed camelize to recent patch for engines and namespaced …

    Steven Anderson authored
    …models
  3. Added support for engines and namespaced models.

    Steven Anderson authored
Commits on Jul 19, 2011
  1. @schlick
Commits on Jul 1, 2011
  1. @ryanb

    Merge pull request #410 from psanford/improve_datamapper_loading

    ryanb authored
    Load datamapper class methods via append_extensions.
  2. @psanford

    Load datamapper class methods via append_extensions.

    psanford authored
    This relaxes the previous requirement that cancan has to be loaded
    before any models are. append_extensions will apply to all
    previously loaded models as well as ones loaded after.
  3. @ryanb

    Merge pull request #409 from nhocki/patch-1

    ryanb authored
    Make CanCan Default Message a translatable text.
  4. @nhocki
Commits on Jun 30, 2011
  1. @nhocki
  2. @nhocki
Commits on May 21, 2011
  1. @ryanb
Commits on May 20, 2011
  1. @ryanb
Commits on May 18, 2011
  1. @ryanb

    releasing 1.6.5

    ryanb authored
  2. @ryanb
Commits on May 17, 2011
  1. @ryanb

    Merge pull request #363 from rahearn/mongoid-conditions-empty

    ryanb authored
    Fixes bug in mongoid_adapter with empty conditions hash
  2. @ryanb
  3. @ryanb
  4. @ryanb
Commits on May 12, 2011
  1. @rahearn

    Processes can rules only if no empty conditions rules are present

    rahearn authored
    1) remove all empty conditions hashes from the rules, they are included
     in the records through `@model_class.all`
    2) only process can rules if the new and old rules lists are the same
      length (meaning there were no empty conditions hashes)
    3) always process cannot rules
Commits on May 10, 2011
  1. @rahearn

    Fixes bug in mongoid_adapter with empty conditions hash

    rahearn authored
    * adds mongoid query that matches every record when
    rule.conditions.empty? is true
Commits on May 2, 2011
  1. @ryanb

    Merge pull request #355 from emmanuel/issue/245.

    ryanb authored
    DataMapper adapter improvements
Commits on Apr 29, 2011
  1. @emmanuel
  2. @emmanuel
  3. @emmanuel
Commits on Apr 27, 2011
  1. @ryanb

    Merged pull request #352 from cardagin/topic/mongoid-adapter-enhancem…

    ryanb authored
    …ents.
    
    Augments Mongoid adapter by handling case where attribute is an array
Commits on Apr 25, 2011
  1. @ryanb

    Merged pull request #343 from rahearn/mongoid-scope.

    ryanb authored
    Adds ability to use Scope query with Mongoid
Commits on Apr 15, 2011
  1. @rahearn

    Adds ability to use Scope query with Mongoid

    rahearn authored
    Same limitations apply as with active record
    * can not be OR'd with other rules for same ability/controller
Commits on Apr 1, 2011
  1. @ryanb

    Merge branch 'optional-associations' of https://github.com/socialcast…

    ryanb authored
    …/cancan into socialcast-optional-associations
  2. @thatothermitch

    Fixed bug where conditions on an optionally associated object would t…

    thatothermitch authored
    …hrow exceptions if the associated object was not present at the rule match time.
  3. @flop
  4. @flop
Commits on Mar 30, 2011
  1. @ryanb

    releasing 1.6.4

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