Skip to content
Browse files

Merge pull request #7260 from thomasklemm/patch-1

Update Migration Docs: Defaults for Boolean Fields
  • Loading branch information...
2 parents 5fe923c + 4c1db8a commit c963f883a41913624363bfd8203b5640318198c2 @vijaydev vijaydev committed Aug 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/migration.rb
View
2 activerecord/lib/active_record/migration.rb
@@ -50,7 +50,7 @@ def initialize
#
# 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

0 comments on commit c963f88

Please sign in to comment.
Something went wrong with that request. Please try again.