]> git.openstreetmap.org Git - rails.git/commit
Move change detection to validation declaration
authorAndy Allan <git@gravitystorm.co.uk>
Thu, 18 Jan 2024 10:29:56 +0000 (10:29 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Thu, 18 Jan 2024 10:33:56 +0000 (10:33 +0000)
commit0a210801928a00d02ad8b9df809650004ae60f74
tree45f099d70a92d6a4e9f86ebce377679a6fba735b
parent2c342adc0df6b932165b521247201772f4369923
Move change detection to validation declaration

This aligns with other validations. Also add test to ensure unchanged
display_names are treated as valid.
app/models/user.rb
test/models/user_test.rb