Jquery Full Calendar with RubyOnRails

Published on Author Akhil Bansal8 Comments

Cross Posted from http://vinsol.com/blog

Contrary to popular belief, working on a client project gives us a generous margin of creativity and explore innovative solutions.Take the example of a recent project I was working on. The client required a collaboration-based calendar module for their application similar to Google Calendar. Initially we started developing it from scratch , but then, we found an awesome Jquery plugin.

FullCalendar” provides a full-sized, drag & drop calendar. It uses AJAX to fetch events on-the-fly for each month. It also supports an intuitive interface to manage events that spans over multiple days or weeks. It is visually customizable and exposes hooks for user-triggered events (like clicking or dragging an event).

I decided to give it a try and utilize its hooks for user triggered events within our Rails application. This small effort resulted in a barebone Rails app that might provide a good base for your project which require calendar, scheduling or appointment features. I called it fullcalendar_rails and it is now available on github with a working demo at http://fullcalendar.vinsol.com.

Update: Added recurring events functionality to the demo app.

Feel free to give your valuable feedback. I hope you will find this useful.

8 Responses to Jquery Full Calendar with RubyOnRails

  1. I am looking to add recurring events to my full calendar implementation as well, however I’m doing this in PHP. Could you explain your logic to me, I feel this will help me complete my script. Also did you have to edit the fullcalendar script? I look forward to hearing form you!

  2. Thank you! Your demo got me over a serious stumbling block with the time format FullCalendar uses in the params. Couldn’t have done it without this resource.

  3. I am trying to use this for quick app I need to develop. It does nt have Gemfile and app/assets. Could you please let me know if I am missing something?


Leave a Reply

Your email address will not be published. Required fields are marked *