Update README.md

This commit is contained in:
kivi 2012-02-05 13:32:32 +01:00
parent 7165ec6943
commit eeae664019
1 changed files with 1 additions and 1 deletions

View File

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