camilova activerecord-update-by-case