Description
Simple Calendar is a Ruby gem for rendering calendars in a Rails app. It is designed to do one thing well: draw a calendar for any range of dates. You can render a day view, a multi-day agenda, a week, a month or a six-week calendar, simply by giving it the range. The gem does not depend on an ORM, so it works with ActiveRecord, Mongoid or plain Ruby objects. You add it to your Gemfile and run bundle install. If you use Bootstrap, the calendar already has borders and spacing for days, and the README shows how to include the optional default stylesheet from application.css or application.scss. Month and week helpers read the start date from a parameter named start_date by default and fall back to the current date when none is given. The README also describes a custom-length calendar that renders a number of days, defaulting to four, and explains how to change the name of the start-date parameter in the URL.…
Highlights
- Renders month, week and custom-length calendars
- No dependency on any ORM
- Bootstrap-friendly default styling
- Start date read from a URL parameter
Ratings & Reviews
No ratings yet
Be the first to rate Simple Calendar.
People also visit
Simple Calendar FAQ
What is Simple Calendar?
A Ruby gem that renders calendars in a Rails app for any range of dates.
How do I install it?
Add it to your Gemfile and run bundle install, then include the optional stylesheet if you want it.
Does it need a particular ORM?
No. The README says it does not depend on any ORM, so you can use ActiveRecord, Mongoid or plain Ruby objects.
Can I render something other than a month?
Yes. The custom-length calendar renders the number of days you choose, defaulting to four, and the week calendar can span several weeks.
What are the best Simple Calendar alternatives?
Popular alternatives to Simple Calendar include Ember Power Calendar, Full calendar and React Calendar. See all Simple Calendar alternatives

