Closed 800a7b32 closed 1 year ago
Please provide a full stacktrace.
@excid3 here you go https://gist.github.com/800a7b32/89f89aeac71eb49155d1b70b085628b5
Looks like you're passing @upcoming_appointment_slots
as nil
but it needs to be an array?
legend! yep there are some instances where there were not upcoming appointment slots, hence nil being returned.
when trying to load a calendar where the list of events is blank, an exception gets raised (tested against simple_calendar 2.4.3...v3.0.1)
undefined method
reject' for nil:NilClass`Example calendar view: