]> cat aescling's git repositories - mastodon.git/commit
Fix db:seed - only run some validations when the field was changed (#3592)
authorEugen Rochko <eugen@zeonfederated.com>
Thu, 8 Jun 2017 13:22:01 +0000 (15:22 +0200)
committerMatt Jankowski <mjankowski@thoughtbot.com>
Thu, 8 Jun 2017 13:22:01 +0000 (09:22 -0400)
commitc207b4bb330463c39c202d1c66e2447b55332093
tree932150591bd43dc2c4b3490f9be29132911b1bf6
parentb87eb8ea146a54fcfd2533f47622070d0f30a9fa
Fix db:seed - only run some validations when the field was changed (#3592)

* Fix db:seed - only run some validations when the field was changed

* Add tests
app/models/account.rb
app/models/user.rb
db/seeds.rb
spec/models/account_spec.rb
spec/models/user_spec.rb