Permalink
Browse files

change_column_null is implemented on connection adapters -> use stand…

…ard change column form
  • Loading branch information...
1 parent 1949223 commit 88000b9b470687ba79d958521a73e7a18efa3995 @kevmoo kevmoo committed Mar 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.rdoc
View
@@ -65,9 +65,9 @@ or for a model that already exists, define a migration to add DeviseInvitable to
end
# Allow null encrypted_password
- change_column_null :users, :encrypted_password, true
+ change_column :users, :encrypted_password, :null => true
# Allow null password_salt (add it if you are using Devise's encryptable module)
- change_column_null :users, :password_salt, true
+ change_column :users, :password_salt, :null => true
== Model configuration

0 comments on commit 88000b9

Please sign in to comment.