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
http://rubydoc.info/gems/icalendar/1.1.5/frames:

cal = Calendar.new

I get an error of:

uninitialized constant Administration::Controller::Calendar
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:105:in
`const_missing'

Is there something I'm missing to initialize it?

I figured it out.

I needed cal = Icalendar::Calendar.new