• RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube

Jquery Full Calendar with RubyOnRails


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.


7 Responses so far.

  1. [...] This post was mentioned on Twitter by Akhil Bansal. Akhil Bansal said: Deleted all faltu events from demo calendar(http://fullcalendar.vinsol.com) http://bit.ly/auCpyD [...]

  2. Jared says:

    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!

  3. Steve Nelson says:

    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.

  4. maxyrby says:

    How to support any jquery plugin from Rails ? Actually, what is the easiest way to determine e.g. members for event.rb ?

  5. Parminder says:

    Hi Akhil,

    I would like to integrate your developed calendar at http://fullcalendar.vinsol.com/ into my ruby on rails app, Can you please provide me help with this.

    I’ll appreciate your help.

    Thanks.


Asset Pipeline has been extracted a...

The asset pipeline which was introduced in Rails 3.1, has ...

ClientSideValidations: Add/Map mode...

#/status/256699237230845952

Action and Page caching has been ex...

With the commit c82cf81f00f Action and Page caching has been extracted ...

turbo-sprockets-rails3: Speeds up ...

#/status/253420357841723393

EdgeRails: ActiveRecord::SessionSto...

With the commit 3324e28804 ActiveRecord::SessionStore is extracted out of Rails into ...

Asset Pipeline has been extracted a...

The asset pipeline which was introduced in Rails 3.1, has ...

ClientSideValidations: Add/Map mode...

#/status/256699237230845952

Action and Page caching has been ex...

With the commit c82cf81f00f Action and Page caching has been extracted ...

turbo-sprockets-rails3: Speeds up ...

#/status/253420357841723393

EdgeRails: ActiveRecord::SessionSto...

With the commit 3324e28804 ActiveRecord::SessionStore is extracted out of Rails into ...