diff options
author | Yuji Yaginuma <yuuji.yaginuma@gmail.com> | 2018-02-15 15:46:42 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-02-16 14:56:05 +0900 |
commit | 3cc93de6ad58ee306b906a3d979b46276900711a (patch) | |
tree | 5567cec8b2daec741207815e1dd5e2735e429956 /activejob/Rakefile | |
parent | 23c5558f37c2c55807e7603415214f2b4b7b22c1 (diff) | |
download | rails-3cc93de6ad58ee306b906a3d979b46276900711a.tar.gz rails-3cc93de6ad58ee306b906a3d979b46276900711a.tar.bz2 rails-3cc93de6ad58ee306b906a3d979b46276900711a.zip |
Fix custome serializer setting
The serializer should be set up in `after_initialize` so that it work
properly even if the user specifies serializer with initializers.
Also, since `custom_serializers` is `Array`, it needs to be flattened
before setting the value.
Diffstat (limited to 'activejob/Rakefile')
0 files changed, 0 insertions, 0 deletions