Skip to content
Commits on Jul 24, 2011
  1. @ryanb

    updating Rails gem dev dependency

    ryanb committed Jul 23, 2011
  2. @ryanb

    removing 1.9.2 from .travis.yml

    ryanb committed Jul 23, 2011
  3. @ryanb

    Merge pull request #427 from bai/master

    Add .travis.yml for building cancan on a lovely Travis CI service
    ryanb committed Jul 23, 2011
Commits on Jul 23, 2011
  1. @ryanb

    Merge pull request #421 from amc-projects/master

    Compatibility fix for rspec-instafail and rspec1
    ryanb committed Jul 23, 2011
  2. @ryanb

    Merge pull request #426 from manuelmeurer/patch-1

    Fixed documentation for skip_load_resource and skip_authorize_resource.
    ryanb committed Jul 23, 2011
Commits on Jul 21, 2011
  1. These lines are defaults, should be fine this way

    beawesomeinstead committed Jul 21, 2011
  2. Run rake instead of rake test

    beawesomeinstead committed Jul 21, 2011
  3. @manuelmeurer

    Fixed typos.

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

    beawesomeinstead committed Jul 21, 2011
Commits on Jul 19, 2011
  1. @schlick
Commits on Jul 1, 2011
  1. @ryanb

    Merge pull request #410 from psanford/improve_datamapper_loading

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

    Load datamapper class methods via append_extensions.

    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.
    psanford committed Jul 1, 2011
  3. @ryanb

    Merge pull request #409 from nhocki/patch-1

    Make CanCan Default Message a translatable text.
    ryanb committed Jul 1, 2011
  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 committed May 18, 2011
  2. @ryanb

    pass action and subject through AccessDenied exception when :through …

    …isn't found - closes #366
    ryanb committed May 18, 2011
Commits on May 17, 2011
  1. @ryanb

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

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

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

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

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

    DataMapper adapter improvements
    ryanb committed May 2, 2011
Commits on Apr 29, 2011
  1. @emmanuel

    Return empty set early if no can rules are present.

    Thanks dkubb!
    emmanuel committed Apr 29, 2011
  2. @emmanuel
  3. @emmanuel
Commits on Apr 27, 2011
  1. @ryanb

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

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

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

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

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

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

    …/cancan into socialcast-optional-associations
    ryanb committed Apr 1, 2011
Something went wrong with that request. Please try again.