diff options
| author | Godfrey Chan <godfreykfc@gmail.com> | 2014-03-29 04:27:23 -0700 |
|---|---|---|
| committer | Godfrey Chan <godfreykfc@gmail.com> | 2014-03-29 04:34:20 -0700 |
| commit | 945dd254ae4a79705c2c05a683fc37a8c98c8aeb (patch) | |
| tree | cd99f279cdd67180122db5ba20851cb4e2b9ba7f /activemodel/lib/active_model/validations/exclusion.rb | |
| parent | 86c53d510cf31b792a7e96a44535e64b3983d17a (diff) | |
| download | rails-945dd254ae4a79705c2c05a683fc37a8c98c8aeb.tar.gz rails-945dd254ae4a79705c2c05a683fc37a8c98c8aeb.tar.bz2 rails-945dd254ae4a79705c2c05a683fc37a8c98c8aeb.zip | |
Ensure we are returning either `true` or `false` for `#==`
460eb83d cused `ActiveRecord::Base#==` to sometimes return `nil` in some cases,
this ensures we always return a boolean value. Also fixed a similar problem in
AR reflections.
Diffstat (limited to 'activemodel/lib/active_model/validations/exclusion.rb')
0 files changed, 0 insertions, 0 deletions
