Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Feb 6, 2009
  1. Johan Sørensen

    Ruby 1.9 compat

    js authored Scott Barron committed
    Signed-off-by: Scott Barron <scott@elitists.net>
Commits on Dec 30, 2008
  1. bump revision

    Scott Barron authored
  2. Josh Knowles

    Don't add named_scope if the ActiveRecord object responds to the meth…

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

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

    Scott Barron authored
Commits on Dec 23, 2008
  1. James Adam

    Typo - rasie => raise

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

    Scott Barron authored
Commits on Dec 12, 2008
  1. Merge branch 'master' of git@github.com:rubyist/aasm

    Scott Barron authored
  2. exclude rcov.rb from rcov report

    Scott Barron authored
Commits on Nov 5, 2008
  1. Tim Pope

    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. Tim Pope

    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 Lindvall
  2. Eric Lindvall
  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. Kevin Triplett
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
Something went wrong with that request. Please try again.