Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Nov 11, 2008
Commits on Nov 5, 2008
  1. @tpope

    Allow duplicate state names in subclasses

    tpope authored
    When an AASM including class is subclassed, a shallow copy is made of
    the StateMachine object.  This means that all subclasses share the same
    states hash and thus the same set of states, which prevents (among other
    things) different subclasses from using the same state names.
    
    Give StateMachine a smart #clone method that copies the states hash and
    invoke that rather than #dup upon subclassing.
Commits on Oct 9, 2008
  1. @tpope

    Invoke original inherited callback when subclassed

    tpope authored
    When AASM is included into a class, it defines inherited, clobbering
    the original definition.  This problem becomes readily apparent with STI
    in Rails, where the original method is part of the implementation of
    inheritable attributes, a feature relied on for several ActiveRecord
    features such as callbacks and timestamp recording.
    
    Move the implementation of inherited to ClassMethods and invoke the
    original method via super.
Commits on Oct 7, 2008
Commits on Oct 3, 2008
  1. new aasm unit spec

    Jon Distad authored
  2. modified (and fixed) failed event! behavior due to failed aasm_write_…

    Jon Distad authored
    …state() call
  3. [Jon] increased the scope of active_record persistence to save the wh…

    Edgecase Pair One authored
    …ole model
Commits on Aug 13, 2008
  1. InvalidTransition should inherit from RuntimError, not Exception [Rob…

    Scott Barron authored
    … Sanheim]
  2. This spec wasn't really working right.

    Scott Barron authored
Commits on Jul 22, 2008
Commits on Jul 9, 2008
  1. @eric
  2. @eric
  3. pump version so gem updates

    Scott Barron authored
Commits on Jun 27, 2008
Commits on Jun 23, 2008
  1. update changelog

    Scott Barron authored
Commits on Jun 22, 2008
  1. typo

    Scott Barron authored
  2. add lighthouse and github urls to README

    Scott Barron authored
  3. Take state column for AR persistance out of class variables and add t…

    Scott Barron authored
    …hem to the
    
    StateMachine object.
Commits on Jun 4, 2008
  1. Add Kevin's change to changelog

    Scott Barron authored
  2. @KevinTriplett
Commits on Jun 1, 2008
  1. Get rid of class vars added to classes including AASM, support inheri…

    Scott Barron authored
    …tance on AASMs
Commits on May 31, 2008
  1. SM support events

    Scott Barron authored
    instance methods consistently use self.class.aasm_ rather than going through SMFactory
  2. StateMachine supports adding State

    Scott Barron authored
  3. Add StateMachine object and StateMachineFactory

    Scott Barron authored
    Supports initial state in SM
  4. Move state for select logic into State

    Scott Barron authored
  5. Support enter and exit actions on states

    Scott Barron authored
  6. Combine event firing logic for ! (persistent) and non-! (non-persiste…

    Scott Barron authored
    …nt) event triggers
  7. remove spurious comment

    Scott Barron authored
  8. Use State objects

    Scott Barron authored
  9. Modify State to prep for enter/entering/exit actions

    Scott Barron authored
Commits on May 30, 2008
  1. Merge in Jan De Poorter's [DefV] named_scope addition to AR persisten…

    Scott Barron authored
    …ce layer, with some organizational clean up.
Something went wrong with that request. Please try again.