47a6d788dd
The purpose of fe9547b is to work type casting to value from database. But that was caused not to use the value before type cast even except Active Record. There we never guarantees that the value before type cast was going to the used in this validation, but we should not change the behavior unless there is some particular reason. To restore original behavior, still use the value before type cast if `came_from_user?` is undefined (i.e. except Active Record). Fixes #33651. Fixes #33686. |
||
---|---|---|
.. | ||
account.rb | ||
blog_post.rb | ||
contact.rb | ||
custom_reader.rb | ||
helicopter.rb | ||
person_with_validator.rb | ||
person.rb | ||
reply.rb | ||
sheep.rb | ||
topic.rb | ||
track_back.rb | ||
user.rb | ||
visitor.rb |