You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Andrew Vit edited this page Nov 24, 2013
·
5 revisions
If you are using Bundler include ice_cube by adding gem 'ice_cube' to your Gemfile and running bundle install.
For convenience, you may add include IceCube inside the top of your ActiveRecord model to access the IceCube classes more easily without needing to prefix the IceCube:: namespace.
To save and reload your schedule in ActiveRecord with the attribute name 'schedule', you should set up a TEXT database column and add the serializer for the column name: