This project is archived and is in readonly mode.

Changeset [aad5a30bf25d8a3167afd685fc91c99f4f09cc57] by Joshua Peek

August 4th, 2009 @ 05:03 PM

Add simple support for ActiveModel's StateMachine for ActiveRecord http://github.com/rails/rails/co...

Committed by Joshua Peek

  • A activerecord/lib/active_record/state_machine.rb
  • A activerecord/test/cases/state_machine_test.rb
  • A activerecord/test/models/traffic_light.rb
  • M activemodel/lib/active_model/state_machine.rb
  • M activemodel/lib/active_model/state_machine/event.rb
  • M activemodel/lib/active_model/state_machine/machine.rb
  • M activemodel/lib/active_model/state_machine/state_transition.rb
  • M activerecord/lib/active_record.rb
  • M activerecord/test/schema/schema.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>