Permalink
Commits on Jul 21, 2011
  1. Fixed typos.

    manuelmeurer committed Jul 21, 2011
  2. The first try to make cancan pass on Travis CI

    beawesomeinstead
    beawesomeinstead committed Jul 21, 2011
Commits on Jul 20, 2011
  1. Added the needed camelize to recent patch for engines and namespaced …

    Steven Anderson
    Steven Anderson committed Jul 20, 2011
    …models
  2. Added support for engines and namespaced models.

    Steven Anderson
    Steven Anderson committed Jul 20, 2011
Commits on Jul 19, 2011
Commits on Jul 1, 2011
  1. Merge pull request #410 from psanford/improve_datamapper_loading

    ryanb committed Jul 1, 2011
    Load datamapper class methods via append_extensions.
  2. Load datamapper class methods via append_extensions.

    psanford committed Jul 1, 2011
    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. Merge pull request #409 from nhocki/patch-1

    ryanb committed Jul 1, 2011
    Make CanCan Default Message a translatable text.
Commits on Jun 30, 2011
Commits on May 21, 2011
Commits on May 20, 2011
Commits on May 18, 2011
  1. releasing 1.6.5

    ryanb committed May 18, 2011
Commits on May 17, 2011
  1. Merge pull request #363 from rahearn/mongoid-conditions-empty

    ryanb committed May 17, 2011
    Fixes bug in mongoid_adapter with empty conditions hash
Commits on May 12, 2011
  1. Processes can rules only if no empty conditions rules are present

    Ryan Ahearn
    Ryan Ahearn committed May 12, 2011
    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. Fixes bug in mongoid_adapter with empty conditions hash

    Ryan Ahearn
    Ryan Ahearn committed May 10, 2011
    * adds mongoid query that matches every record when
    rule.conditions.empty? is true
Commits on May 2, 2011
  1. Merge pull request #355 from emmanuel/issue/245.

    ryanb committed May 2, 2011
    DataMapper adapter improvements
Commits on Apr 29, 2011
  1. Return empty set early if no can rules are present.

    emmanuel committed Apr 29, 2011
    Thanks dkubb!
Commits on Apr 27, 2011
  1. Merged pull request #352 from cardagin/topic/mongoid-adapter-enhancem…

    ryanb committed Apr 27, 2011
    …ents.
    
    Augments Mongoid adapter by handling case where attribute is an array
Commits on Apr 25, 2011
  1. Merged pull request #343 from rahearn/mongoid-scope.

    ryanb committed Apr 25, 2011
    Adds ability to use Scope query with Mongoid
Commits on Apr 15, 2011
  1. Adds ability to use Scope query with Mongoid

    Ryan Ahearn
    Ryan Ahearn committed Apr 15, 2011
    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. Merge branch 'optional-associations' of https://github.com/socialcast…

    ryanb committed Apr 1, 2011
    …/cancan into socialcast-optional-associations
  2. Fixed bug where conditions on an optionally associated object would t…

    thatothermitch committed Apr 1, 2011
    …hrow exceptions if the associated object was not present at the rule match time.
Commits on Mar 30, 2011
  1. releasing 1.6.4

    ryanb committed Mar 30, 2011