Skip to content

Commit

Permalink
Update activerecord/lib/active_record/connection_adapters/postgresql/…
Browse files Browse the repository at this point in the history
…oid/cidr.rb

Co-authored-by: Yasuo Honda <yasuo.honda@gmail.com>
  • Loading branch information
taketo1113 and yahonda committed Apr 23, 2024
1 parent 19839cc commit efeb853
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def serialize(value)
end

def changed?(old_value, new_value, _new_value_before_type_cast)
new_value != old_value || new_value.prefix != old_value.prefix
super || new_value.prefix != old_value.prefix
end

def cast_value(value)
Expand Down

0 comments on commit efeb853

Please sign in to comment.