9

Add Range serializer for ActiveJob by fsateler · Pull Request #42219 · rails/rai...

 2 years ago
source link: https://github.com/rails/rails/pull/42219
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Copy link

Contributor

fsateler commented on May 13

edited

Summary

This change adds an ActiveJob serializer for the core ruby Range object.

Other Information

Missing Range support means users need to add start/finish pair of arguments instead of simply passing a Range object.

Then native ruby as_json/json_create are not used because they can't handle endless ranges.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK