Permalink
Commits on Nov 16, 2010
  1. 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 15, 2010
Commits on Oct 27, 2010
  1. 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. Add event execution flow to README.rdoc

    Burgestrand committed with Jakub Kuźma Oct 5, 2010
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. bumped version to 0.0.8

    qoobaa committed Aug 12, 2010
  2. Don't skip validations with state transitions!

    tekin committed with Jakub Kuźma Aug 12, 2010
Commits on Jul 29, 2010
  1. added test for state inclusion validator

    mlitwiniuk committed with Jakub Kuźma Jul 29, 2010
  2. 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 28, 2010
Commits on Jun 29, 2010
  1. bumped version to 0.0.7

    qoobaa committed Jun 29, 2010
  2. gemspec won't find Transitions::VERSION unless we require the module …

    …first
    tekin committed with Jakub Kuźma Jun 29, 2010
  3. Typo in gemspec

    tekin committed with Jakub Kuźma Jun 29, 2010
  4. Updated ActiveRecord::Transitions#write_state so it doesn't fail for …

    …protected attributes
    tekin committed with Jakub Kuźma Jun 29, 2010
  5. Added failing test for when state attribute is protected

    tekin committed with Jakub Kuźma Jun 29, 2010
Commits on Jun 10, 2010
  1. improve README to explain how to use with Rails

    jotto committed with Jakub Kuźma Jun 10, 2010
Commits on Apr 20, 2010
  1. removed jeweler

    Jakub Kuźma committed Apr 20, 2010
Commits on Mar 13, 2010
  1. Regenerated gemspec for version 0.0.5

    Jakub Kuźma committed Mar 13, 2010
  2. changed namespace, bumped to 0.0.5

    Jakub Kuźma committed Mar 13, 2010
  3. Regenerated gemspec for version 0.0.4

    Jakub Kuźma committed Mar 13, 2010
  4. added transitions.gemspec

    Jakub Kuźma committed Mar 13, 2010
  5. merged with netizer

    Jakub Kuźma committed Mar 13, 2010
Commits on Mar 12, 2010
  1. fixing event arguments

    Hieronim committed Mar 12, 2010
Commits on Feb 21, 2010
  1. Regenerated gemspec for version 0.0.4

    Jakub Kuźma committed Feb 21, 2010
  2. added installation info in readme

    Jakub Kuźma committed Feb 21, 2010
  3. added copyright notices, refactoring

    Jakub Kuźma committed Feb 21, 2010
Commits on Feb 20, 2010
  1. Regenerated gemspec for version 0.0.3

    Jakub Kuźma committed Feb 20, 2010