From 41ed4db560bf50e0ccb99915a03c37d39bff135b Mon Sep 17 00:00:00 2001 From: rohit Date: Thu, 24 Jun 2010 09:41:44 +0530 Subject: Guides: Add :references to supported column types. --- activerecord/lib/active_record/migration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/lib/active_record/migration.rb') diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index b273c33e50..b23bb62001 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -101,7 +101,7 @@ module ActiveRecord # named +column_name+ specified to be one of the following types: # :string, :text, :integer, :float, # :decimal, :datetime, :timestamp, :time, - # :date, :binary, :boolean. A default value can be + # :date, :binary, :boolean and :references. A default value can be # specified by passing an +options+ hash like { :default => 11 }. # Other options include :limit and :null (e.g. # { :limit => 50, :null => false }) -- see -- cgit v1.2.3