We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I'm trying out your gem and I'm getting an undefined method error with the following code (leaving recurring events aside for the moment):
event = calendar.events.where(uid: ical_event.uid.to_s).first_or_create event.summary = ical_event.summary.to_s event.description = ical_event.description.to_s event.schedule.rule = "singular" event.schedule.date = ical_event.dtstart event.schedule.until = ical_event.dtend event.save
These are my models:
class Event < ApplicationRecord acts_as_schedulable :schedule end
class Schedule < Schedulable::Model::Schedule end
Do I have to instantiate the schedule by myself - anything else that might be wrong?
Best
Sebastian
PS: That's my environment
ruby 2.2.2 Rails 5.0.0.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I'm trying out your gem and I'm getting an undefined method error with the following code (leaving recurring events aside for the moment):
These are my models:
Do I have to instantiate the schedule by myself - anything else that might be wrong?
Best
Sebastian
PS: That's my environment
The text was updated successfully, but these errors were encountered: