Icalendar gem

I’m relatively new to rails. I’m trying to send an .ics attachment for a
site as a calendar reminder. In the controller, I require “icalendar”.

When I get to my method, and do the following per

cal = Calendar.new

I get an error of:

uninitialized constant Administration::Controller::Calendar

Is there something I’m missing to initialize it?

I figured it out.

I needed cal = Icalendar::Calendar.new

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs