diff options
author | Azul <azul@leap.se> | 2014-05-29 11:19:21 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-05-29 11:19:21 +0200 |
commit | bbe7b3b7deb2b44d34f7c39dda2c3db284e2bf10 (patch) | |
tree | 1b921c5243e51d6aaa413ed71455d51f86f94353 /config/initializers/error_constants.rb | |
parent | 85e066920568c19b788b8789c4659092224bb517 (diff) |
clearify identity validations
Identity.new.valid? should not crash. So validate presence where needed and
skip the other validations if the value is absent.
Diffstat (limited to 'config/initializers/error_constants.rb')
0 files changed, 0 insertions, 0 deletions