lib/card/model/save_helper/save_arguments.rb in card-1.104.0 vs lib/card/model/save_helper/save_arguments.rb in card-1.104.1
- old
+ new
@@ -70,11 +70,11 @@
def changing_args card, args
args.select do |key, value|
case key.to_s
when /^\+/
changing_field_arg key, value
- when "name"
- card.name.to_s != value
+ when /name$/
+ card.send(key).to_s != value
else
standard_changing_arg card, key, value
end
end
end