Commits on Aug 11, 2011
  1. @troessner

    Bump version to 0.0.10.

    troessner committed Aug 11, 2011
  2. @troessner

    Revert "Bump version."

    This reverts commit 986540b.
    troessner committed Aug 11, 2011
  3. @troessner

    Bump version.

    troessner committed Aug 11, 2011
Commits on Jul 27, 2011
  1. @qoobaa

    Merge pull request #29 from alexhanh/master

    fixed setting initial state whenever :state isn't included in the query
    qoobaa committed Jul 27, 2011
  2. @alexhanh
Commits on Jul 3, 2011
  1. @troessner
Commits on Jun 7, 2011
  1. @qoobaa

    Merge pull request #27 from tjsingleton/patch-1

    Extend StandardError instead of the lower level Exception.
    qoobaa committed Jun 7, 2011
  2. Extend StandardError instead of the lower level Exception. Typically …

    …StandardError represents application level exceptions.
    TJ Singleton committed Jun 7, 2011
Commits on May 12, 2011
  1. @qoobaa

    Edited README.rdoc via GitHub

    qoobaa committed May 12, 2011
Commits on Feb 24, 2011
  1. New records have their state set after initialization

    Initial state was set using before_validation, which resulted in a nil state
    for new records. Instead of using the before_validate hook, use the
    after_initialize hook to make sure the state is properly set.
    Micah Frost committed with Jakub Kuźma Feb 24, 2011
Commits on Feb 22, 2011
  1. @dhl

    current_state of new objects now returns the initial state correctly

    When an object is freshly initialized, the current_State virtual
    attribute calls on read_state to get an object's current state, which in
    turn calls to_sym on the `state` attribute. However, the state attribute
    of a newly initialized object might return nil, and this causes an
    exception to be thrown.
    dhl committed with Jakub Kuźma Feb 20, 2011
Commits on Nov 16, 2010
  1. @pjones

    Allow state query methods to work in conditional validations

    When you have a conditional validation, for example:
    
      validates(:name, :presence => true, :if => :red?)
    
    Then `save!' should raise an exception if transitioning to `red' and
    `name' isn't valid.
    
    Adds a test and changes the `write_state' method for active record to
    revert to previous state on a failed save.
    pjones committed with Jakub Kuźma Nov 16, 2010
Commits on Oct 27, 2010
  1. @tomafro

    Calling ActiveRecord#reload should clear the current state variable.

    If it isn't cleared, the returned state may not be consistent with the value of the state attribute.
    tomafro committed with Jakub Kuźma Oct 26, 2010
Commits on Oct 5, 2010
  1. @Burgestrand
  2. @Burgestrand

    Add event execution flow to README.rdoc

    Burgestrand committed with Jakub Kuźma Oct 5, 2010
  3. @Burgestrand
  4. @Burgestrand
  5. @Burgestrand
  6. @Burgestrand
Commits on Sep 21, 2010
  1. updated gemfile.lock

    Jakub Kuźma committed Sep 21, 2010
  2. bumped version to 0.0.9

    Jakub Kuźma committed Sep 21, 2010
  3. updated readme

    Jakub Kuźma committed Sep 21, 2010
  4. updated readme

    Jakub Kuźma committed Sep 21, 2010
  5. added bundler

    Jakub Kuźma committed Sep 21, 2010
Commits on Aug 12, 2010
  1. @qoobaa

    bumped version to 0.0.8

    qoobaa committed Aug 12, 2010
  2. @tekin

    Don't skip validations with state transitions!

    tekin committed with Jakub Kuźma Aug 12, 2010
Commits on Jul 29, 2010
  1. @mlitwiniuk

    added test for state inclusion validator

    mlitwiniuk committed with Jakub Kuźma Jul 29, 2010
  2. @mlitwiniuk

    state inclusion validator added (now there is no possibility to arbit…

    …rary set state to value different, than state list
    mlitwiniuk committed with Jakub Kuźma Jul 29, 2010
Commits on Jun 29, 2010
  1. @qoobaa

    bumped version to 0.0.7

    qoobaa committed Jun 29, 2010
  2. @tekin

    gemspec won't find Transitions::VERSION unless we require the module …

    …first
    tekin committed with Jakub Kuźma Jun 29, 2010
  3. @tekin

    Typo in gemspec

    tekin committed with Jakub Kuźma Jun 29, 2010
  4. @tekin

    Updated ActiveRecord::Transitions#write_state so it doesn't fail for …

    …protected attributes
    tekin committed with Jakub Kuźma Jun 29, 2010
  5. @tekin

    Added failing test for when state attribute is protected

    tekin committed with Jakub Kuźma Jun 29, 2010
  6. @tekin
Commits on Jun 10, 2010
  1. @jotto

    improve README to explain how to use with Rails

    jotto committed with Jakub Kuźma Jun 11, 2010