Permalink
Browse files

Fixing profiles migration to not save new profiles with validations.

  • Loading branch information...
1 parent c819ec2 commit 6b30fcad099151aaf0271a212119f7d0bab39f02 @juliamae juliamae committed Mar 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 db/migrate/20120321165613_create_profiles.rb
@@ -12,7 +12,7 @@ def up
profile = user.build_profile :email => user.email
profile.name = user.name if user.respond_to?(:name)
- profile.save
+ profile.save(:validate => false)
end
end

0 comments on commit 6b30fca

Please sign in to comment.