# Calendar in Rails

**URL:** <https://www.ruby-forum.com/t/calendar-in-rails/126218>\
**Category:** Rails\
**Created:** [January 16, 2008, 12:46pm UTC](https://www.ruby-forum.com/t/calendar-in-rails/126218 "2008-01-16T12:46:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ant](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@ant](https://www.ruby-forum.com/u/ant)\
**Post date:** [January 16, 2008, 12:46pm UTC](https://www.ruby-forum.com/t/calendar-in-rails/126218/1 "2008-01-16T12:46:55Z")

</div>

HI All,

Please can anyone tell me whether there is a rails plugin/app that  
allows creation of a calendar that can render events. I am not talking  
about a calendar date picker of which there are several, but something  
more along the lines of [http://www.backpackit.com/calendar](http://www.backpackit.com/calendar) where an  
html/css calendar can be rendered with dates highlighted.

Many thanks

Anthony

---

<div class="post-metadata">

**Author:** ![ant](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@ant](https://www.ruby-forum.com/u/ant)\
**Post date:** [January 16, 2008, 4:44pm UTC](https://www.ruby-forum.com/t/calendar-in-rails/126218/2 "2008-01-16T16:44:28Z")

</div>

Anthony,

This might help

[http://wiki.rubyonrails.org/rails/pages/Calendar+Helper+Plugin](http://wiki.rubyonrails.org/rails/pages/Calendar+Helper+Plugin)

Mike

---

<div class="post-metadata">

**Author:** ![ant](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@ant](https://www.ruby-forum.com/u/ant)\
**Post date:** [March 1, 2009, 7:33am UTC](https://www.ruby-forum.com/t/calendar-in-rails/126218/3 "2009-03-01T07:33:21Z")

</div>

Try this

[http://agilewebdevelopment.com/plugins/instant\_calendar](http://agilewebdevelopment.com/plugins/instant_calendar)

Ant wrote:

> HI All,
> 
> Please can anyone tell me whether there is a rails plugin/app that  
> allows creation of a calendar that can render events. I am not talking  
> about a calendar date picker of which there are several, but something  
> more along the lines of [http://www.backpackit.com/calendar](http://www.backpackit.com/calendar) where an  
> html/css calendar can be rendered with dates highlighted.
> 
> Many thanks
> 
> Anthony

---

<div class="post-metadata">

**Author:** ![ant](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@ant](https://www.ruby-forum.com/u/ant)\
**Post date:** [June 1, 2009, 3:39pm UTC](https://www.ruby-forum.com/t/calendar-in-rails/126218/4 "2009-06-01T15:39:27Z")

</div>

Check out [GitHub - p8/table\_builder: Rails builder for creating tables and calendars inspired by ActionView's FormBuilder.](http://github.com/p8/table_builder/tree/master). It works  
similar to form\_for. It requires objects with a method that returns a  
date.

\<% calendar\_for(@tasks, :year =\> @year, :month =\> @month) do |t| %\>  
\<%= t.head(‘mon’, ‘tue’, ‘wed’, ‘thu’, ‘fri’, ‘sat’, ‘sun’) %\>  
\<% t.day(:day\_method =\> YOUR\_DATE\_METHOD) do |day, tasks| %\>  
\<%= day.day %\>  
  
\<% tasks.each do |task| %\>  
\<%= h(task.name) %\>  
  
\<% end %\>  
\<% end %\>  
\<% end %\>  
\<% end %\>

---

<div class="post-metadata">

**Author:** ![ant](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@ant](https://www.ruby-forum.com/u/ant)\
**Post date:** [March 2, 2009, 6:52pm UTC](https://www.ruby-forum.com/t/calendar-in-rails/126218/5 "2009-03-02T18:52:59Z")

</div>

Hi:

Try this link. We recently deployed a calendar for our in-house  
intranet where users can sign up for classes(events). This will give  
you the calendar and event side of things…

[http://rubyforge.org/projects/railendar/](http://rubyforge.org/projects/railendar/)

Gary.

On Feb 28, 10:33 pm, Unnikrishnan Kp \<rails-mailing-l…@andreas-
