rossta / montrose

Recurring events library for Ruby. Enumerable recurrence objects and convenient chainable interface.
https://rossta.net/montrose/
MIT License
843 stars 53 forks source link

Support Recurrence.load and Recurrence.dump #7

Closed rossta closed 8 years ago

rossta commented 8 years ago

In Rails, ActiveRecord.serialize supports custom data types when they implement load and dump. We should add these method to Recurrence

Also, possibly Schedule.load and Schedule.dump

See: https://viget.com/extend/how-i-used-activerecord-serialize-with-a-custom-data-type