Permalink
Commits on Feb 25, 2012
  1. Pass instance through to able_check.

    When an able check on an instance of an object falls through to the catch-all able_check class method, pass through the object's instance in the option hash.
    committed Feb 25, 2012
Commits on Sep 22, 2011
Commits on Sep 19, 2011
Commits on Sep 17, 2011
Commits on Sep 8, 2011
Commits on Sep 7, 2011
  1. Release 0.3.

    * current_user being nil now raises transgression error.
    jnunemaker committed Sep 7, 2011
  2. Merge pull request #5 from jmazzi/patch-1

    Fix a syntax error in the README. Replace =. with =>
    jnunemaker committed Sep 7, 2011
  3. Remove mongomapper dev dep. Just using struct.

    What was I thinking…heh
    jnunemaker committed Sep 7, 2011
Commits on Jun 30, 2011
  1. Release 0.2.0.

    jnunemaker committed Jun 30, 2011
  2. Merge pull request #3 from lenary/messages

    Customize transgression messages.
    jnunemaker committed Jun 30, 2011
Commits on May 16, 2011
  1. Add a way to pass a specific message down through the stack.

    I have no clue how to test this, but to use it:
    
        rescue_from Canable::Transgression, transgression
    
        def transgression(exception)
          flash[:notice] = exception.message
          redirect_to root_url
        end
    lenary committed Jan 23, 2011
Commits on Jun 23, 2010
  1. Release 0.1.1.

    jnunemaker committed Jun 23, 2010
Commits on Feb 27, 2010
  1. Set version.

    jnunemaker committed Feb 27, 2010
  2. Ignoring tmp.

    jnunemaker committed Feb 27, 2010
  3. Tests for cans.

    jnunemaker committed Feb 27, 2010
  4. Tests for ables.

    jnunemaker committed Feb 27, 2010
  5. Added watchr.

    jnunemaker committed Feb 27, 2010
  6. Initial commit to canable.

    jnunemaker committed Feb 27, 2010