Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Guides: Add :references to supported column types.

  • Loading branch information...
commit 41ed4db560bf50e0ccb99915a03c37d39bff135b 1 parent 3ac5a53
@rohit rohit authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/lib/active_record/migration.rb
View
2  activerecord/lib/active_record/migration.rb
@@ -101,7 +101,7 @@ def initialize(name)
# named +column_name+ specified to be one of the following types:
# <tt>:string</tt>, <tt>:text</tt>, <tt>:integer</tt>, <tt>:float</tt>,
# <tt>:decimal</tt>, <tt>:datetime</tt>, <tt>:timestamp</tt>, <tt>:time</tt>,
- # <tt>:date</tt>, <tt>:binary</tt>, <tt>:boolean</tt>. A default value can be
+ # <tt>:date</tt>, <tt>:binary</tt>, <tt>:boolean</tt> and <tt>:references</tt>. A default value can be
# specified by passing an +options+ hash like <tt>{ :default => 11 }</tt>.
# Other options include <tt>:limit</tt> and <tt>:null</tt> (e.g.
# <tt>{ :limit => 50, :null => false }</tt>) -- see
Please sign in to comment.
Something went wrong with that request. Please try again.