diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-08-04 02:12:01 -0700 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-08-04 02:12:01 -0700 |
commit | c963f883a41913624363bfd8203b5640318198c2 (patch) | |
tree | 663e20e459f4fbd25e347730096090c6f50df4e6 | |
parent | 5fe923cc341b5487fff2b7f2862829367ebd5102 (diff) | |
parent | 4c1db8a93c2f2f21030cac0deae7f287355133a8 (diff) | |
download | rails-c963f883a41913624363bfd8203b5640318198c2.tar.gz rails-c963f883a41913624363bfd8203b5640318198c2.tar.bz2 rails-c963f883a41913624363bfd8203b5640318198c2.zip |
Merge pull request #7260 from thomasklemm/patch-1
Update Migration Docs: Defaults for Boolean Fields
-rw-r--r-- | activerecord/lib/active_record/migration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index 7cbe61f14d..703265c334 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -50,7 +50,7 @@ module ActiveRecord # # class AddSsl < ActiveRecord::Migration # def up - # add_column :accounts, :ssl_enabled, :boolean, :default => 1 + # add_column :accounts, :ssl_enabled, :boolean, :default => true # end # # def down |