1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00

Merge pull request #44 from kivi/patch-1

Update README.md
This commit is contained in:
Thorsten Böttger 2012-02-06 01:18:24 -08:00
commit d09d4da576

View file

@ -92,7 +92,7 @@ This example uses a few of the more complex features available.
class Relationship class Relationship
include AASM include AASM
aasm :column => :status aasm :column => :status do
state :dating, :enter => :make_happy, :exit => :make_depressed state :dating, :enter => :make_happy, :exit => :make_depressed
state :intimate, :enter => :make_very_happy, :exit => :never_speak_again state :intimate, :enter => :make_very_happy, :exit => :never_speak_again
state :married, :enter => :give_up_intimacy, :exit => :buy_exotic_car_and_wear_a_combover state :married, :enter => :give_up_intimacy, :exit => :buy_exotic_car_and_wear_a_combover