rails
rails copied to clipboard
Add support for ActiveRecord::Point type casts using hash values
Summary
This allows ActiveRecord::Point to be cast or serialized from a hash with :x and :y keys of numeric values, mirroring the functionality of existing casts for string and array values. Both string and symbol keys are supported.