1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/active_record/coders
Sean Griffin 307ec3db0f Provide a better error message for unsupported classes in serialize
We only support classes which provide a no-args constructor to use as a
default value. We can provide a more helpful error message if we catch
this when `serialize` is called, rather than letting it error when you
try to assign the attribute.

Fixes 
2014-12-27 19:49:09 -07:00
..
json.rb Merge pull request from chancancode/fix_json_coder 2014-07-15 08:43:54 -07:00
yaml_column.rb Provide a better error message for unsupported classes in serialize 2014-12-27 19:49:09 -07:00