From 5737182e2b2c3a9158695e2f27eeee13f201c057 Mon Sep 17 00:00:00 2001 From: Travis Tilley Date: Sun, 17 Jan 2010 01:12:18 -0500 Subject: [PATCH] add aasm_column to examples --- README.rdoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.rdoc b/README.rdoc index 68aa4ea..690d7c2 100644 --- a/README.rdoc +++ b/README.rdoc @@ -66,6 +66,8 @@ Here's a quick example highlighting some of the features. class Conversation include AASM + aasm_column :current_state # defaults to aasm_state + aasm_initial_state :unread aasm_state :unread @@ -88,6 +90,8 @@ This example uses a few of the more complex features available. class Relationship include AASM + + aasm_column :status aasm_initial_state Proc.new { |relationship| relationship.strictly_for_fun? ? :intimate : :dating }