Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [aad5a30bf25d8a3167afd685fc91c99f4f09cc57] by Joshua Peek

Revision aad5a30bf25d8a3167afd685fc91c99f4f09cc57, committed by Joshua Peek · August 4th, 2009 @ 05:03 PM

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

9 changed files

  • 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