-
Website
http://www.cuppadev.co.uk -
Original page
http://www.cuppadev.co.uk/webdev/making-a-real-calendar-in-rails/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
Craigslist Proxy
1 comment · -1 points
-
steveluscher
1 comment · 2 points
-
BusbyTest
1 comment · 5 points
-
emcmanus
1 comment · 1 points
-
samj
1 comment · 2 points
-
-
Popular Threads
-
CSS Transform Exporter for Blender
1 week ago · 5 comments
-
Thumbnails and Palettes in glgif
1 week ago · 2 comments
-
CSS Transform Exporter for Blender
Thanks
http://pastie.textmate.org/404595
http://gist.github.com/74325
Thanks
Good point. I don't have the schema off hand, but it went something like...
Events:
id(int), calendar_id(int), name(string), created_by_id(int), updated_by_id(int), start_date(datetime), end_date(datetime), repeat_id(int)
Calendar
id(int), name(string), created_by_id(int), updated_by_id(int)
The key bits being the Calendar and the calendar_id, start_date, end_date, and name on the Event.
Obviously modify to suit your needs :)
Hope that helps! :)
http://dev.elevationblog.com/2009/7/23/event-ca...
Thanks for the help!
calendar event_calendar_options do |event|
"<div>#{h(event.name)}</div>"
end