Switch branches/tags
Nothing to show
Commits on Feb 6, 2009
  1. Ruby 1.9 compat

    js committed with Scott Barron Feb 6, 2009
    Signed-off-by: Scott Barron <>
Commits on Dec 30, 2008
  1. bump revision

    Scott Barron committed Dec 30, 2008
  2. Don't add named_scope if the ActiveRecord object responds to the meth…

    joshknowles committed with Scott Barron Nov 15, 2008
    …od name already (such as 'new')
    Signed-off-by: Scott Barron <>
Commits on Dec 29, 2008
  1. Fix misleading example which uses a 'new' state.

    Scott Barron committed Dec 29, 2008
    A state called 'new' would currently not work with activerecord.
Commits on Dec 24, 2008
  1. bump revs to generate gems

    Scott Barron committed Dec 24, 2008
Commits on Dec 23, 2008
  1. Typo - rasie => raise

    lazyatom committed Dec 23, 2008
Commits on Dec 15, 2008
  1. bump rev so new gems are available

    Scott Barron committed Dec 15, 2008
Commits on Dec 12, 2008
  1. Merge branch 'master' of

    Scott Barron committed Dec 12, 2008
  2. exclude rcov.rb from rcov report

    Scott Barron committed Dec 12, 2008
Commits on Nov 5, 2008
  1. Allow duplicate state names in subclasses

    tpope committed Nov 5, 2008
    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. Invoke original inherited callback when subclassed

    tpope committed Oct 9, 2008
    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.
  2. Added support for lambdas and arrays of method symbols to success cal…

    Jon Distad committed Oct 9, 2008
Commits on Oct 7, 2008
  1. Version module is causing conflicts with other packages

    Scott Barron committed Oct 7, 2008
Commits on Oct 3, 2008
  1. new aasm unit spec

    Jon Distad committed Oct 3, 2008
  2. modified (and fixed) failed event! behavior due to failed aasm_write_…

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

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

    Scott Barron committed Aug 13, 2008
    … Sanheim]
  2. This spec wasn't really working right.

    Scott Barron committed Aug 13, 2008
Commits on Jul 22, 2008
Commits on Jul 9, 2008
  1. pump version so gem updates

    Scott Barron committed Jul 9, 2008
Commits on Jun 27, 2008
Commits on Jun 23, 2008
  1. update changelog

    Scott Barron committed Jun 23, 2008
Commits on Jun 22, 2008
  1. typo

    Scott Barron committed Jun 22, 2008
  2. add lighthouse and github urls to README

    Scott Barron committed Jun 22, 2008
  3. Take state column for AR persistance out of class variables and add t…

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

    Scott Barron committed Jun 4, 2008
Commits on Jun 1, 2008
  1. Get rid of class vars added to classes including AASM, support inheri…

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

    Scott Barron committed May 31, 2008
    instance methods consistently use self.class.aasm_ rather than going through SMFactory
  2. StateMachine supports adding State

    Scott Barron committed May 31, 2008