<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>CuppaDev - Latest Comments in Making a Real Calendar in Rails</title><link>http://cuppadev.disqus.com/</link><description></description><atom:link href="https://cuppadev.disqus.com/making_a_real_calendar_in_rails/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 02 Jun 2010 03:40:41 -0000</lastBuildDate><item><title>Re: Making a Real Calendar in Rails</title><link>http://www.cuppadev.co.uk/making-a-real-calendar-in-rails#comment-53501089</link><description>&lt;p&gt;Does anyone know if this plugin supports a weekly/daily view? This looks great but I think it would be better if it could support more of the features that google calendar has for example.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aaron A.</dc:creator><pubDate>Wed, 02 Jun 2010 03:40:41 -0000</pubDate></item><item><title>Re: Making a Real Calendar in Rails</title><link>http://www.cuppadev.co.uk/making-a-real-calendar-in-rails#comment-13377759</link><description>&lt;p&gt;Regarding the plugin, as with my original code you can customise the event view by passing a block to the calendar helper (along with the configuration options). i.e.:&lt;/p&gt;&lt;p&gt;calendar event_calendar_options do |event|&lt;br&gt;  "&lt;a href="/events/#{event.id}" rel="nofollow noopener" target="_blank" title='\"#{h(event.name)}\"'&gt;&amp;lt;div&amp;gt;#{h(event.name)}&amp;lt;/div&amp;gt;&lt;/a&gt;"&lt;br&gt;end&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Urquhart</dc:creator><pubDate>Mon, 27 Jul 2009 04:15:01 -0000</pubDate></item><item><title>Re: Making a Real Calendar in Rails</title><link>http://www.cuppadev.co.uk/making-a-real-calendar-in-rails#comment-13366973</link><description>&lt;p&gt;That's really neat and thank you for creating the plugin! However, is there a way to create links on the event strips to link to other pages? Like clicking on a strip would redirect you to another page where it listed more detailed event information?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John</dc:creator><pubDate>Sun, 26 Jul 2009 20:10:53 -0000</pubDate></item><item><title>Re: Making a Real Calendar in Rails</title><link>http://www.cuppadev.co.uk/making-a-real-calendar-in-rails#comment-13258710</link><description>&lt;p&gt;Neat. Linked to from the post! :D&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Urquhart</dc:creator><pubDate>Fri, 24 Jul 2009 04:45:50 -0000</pubDate></item><item><title>Re: Making a Real Calendar in Rails</title><link>http://www.cuppadev.co.uk/making-a-real-calendar-in-rails#comment-13233224</link><description>&lt;p&gt;I took your example from gist, adapted it for my needs, and just extracted it to a plugin on github.&lt;/p&gt;&lt;p&gt;&lt;a href="http://dev.elevationblog.com/2009/7/23/event-calendar-rails-plugin" rel="nofollow noopener" target="_blank" title="http://dev.elevationblog.com/2009/7/23/event-calendar-rails-plugin"&gt;http://dev.elevationblog.co...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Thanks for the help!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeff Schuil</dc:creator><pubDate>Thu, 23 Jul 2009 16:58:10 -0000</pubDate></item><item><title>Re: Making a Real Calendar in Rails</title><link>http://www.cuppadev.co.uk/making-a-real-calendar-in-rails#comment-13218427</link><description>&lt;p&gt;Kevin,&lt;/p&gt;&lt;p&gt;Good point. I don't have the schema off hand, but it went something like...&lt;/p&gt;&lt;p&gt;Events:&lt;br&gt;  id(int), calendar_id(int), name(string), created_by_id(int), updated_by_id(int), start_date(datetime), end_date(datetime), repeat_id(int)&lt;br&gt;Calendar&lt;br&gt;  id(int), name(string), created_by_id(int), updated_by_id(int)&lt;/p&gt;&lt;p&gt;The key bits being the Calendar and the calendar_id, start_date, end_date, and name on the Event.&lt;/p&gt;&lt;p&gt;Obviously modify to suit your needs :)&lt;/p&gt;&lt;p&gt;Hope that helps! :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Urquhart</dc:creator><pubDate>Thu, 23 Jul 2009 12:35:02 -0000</pubDate></item><item><title>Re: Making a Real Calendar in Rails</title><link>http://www.cuppadev.co.uk/making-a-real-calendar-in-rails#comment-13212602</link><description>&lt;p&gt;I appreciate you efforts here but you said that your gist contains all the code that you used for an example app but where is the migrations data? &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kevin</dc:creator><pubDate>Thu, 23 Jul 2009 11:12:36 -0000</pubDate></item><item><title>Re: Making a Real Calendar in Rails</title><link>http://www.cuppadev.co.uk/making-a-real-calendar-in-rails#comment-10351941</link><description>&lt;p&gt;Did you think in write a new plugin with your changes?&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike</dc:creator><pubDate>Mon, 01 Jun 2009 10:51:16 -0000</pubDate></item><item><title>Re: Making a Real Calendar in Rails</title><link>http://www.cuppadev.co.uk/making-a-real-calendar-in-rails#comment-6897671</link><description>&lt;p&gt;Apologies. I have posted a GIST which contains all the code i used in an example app, if that helps with your implementation..&lt;/p&gt;&lt;p&gt;&lt;a href="http://gist.github.com/74325" rel="nofollow noopener" target="_blank" title="http://gist.github.com/74325"&gt;http://gist.github.com/74325&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Urquhart</dc:creator><pubDate>Thu, 05 Mar 2009 07:00:53 -0000</pubDate></item><item><title>Re: Making a Real Calendar in Rails</title><link>http://www.cuppadev.co.uk/making-a-real-calendar-in-rails#comment-6781849</link><description>&lt;p&gt;I just followed your GIST to the letter and got a nasty MySQL error :(&lt;/p&gt;&lt;p&gt;&lt;a href="http://pastie.textmate.org/404595" rel="nofollow noopener" target="_blank" title="http://pastie.textmate.org/404595"&gt;http://pastie.textmate.org/...&lt;/a&gt;&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pimpmaster</dc:creator><pubDate>Mon, 02 Mar 2009 08:31:40 -0000</pubDate></item><item><title>Re: Making a Real Calendar in Rails</title><link>http://www.cuppadev.co.uk/making-a-real-calendar-in-rails#comment-6212551</link><description>&lt;p&gt;For this particular implementation, i started off with &lt;a href="http://github.com/febuiles/cute_calendar/tree/master" rel="nofollow noopener" target="_blank" title="http://github.com/febuiles/cute_calendar/tree/master"&gt;http://github.com/febuiles/...&lt;/a&gt;. Then ended up merging most of it to my application helpers.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Urquhart</dc:creator><pubDate>Thu, 12 Feb 2009 14:01:42 -0000</pubDate></item><item><title>Re: Making a Real Calendar in Rails</title><link>http://www.cuppadev.co.uk/making-a-real-calendar-in-rails#comment-6207760</link><description>&lt;p&gt;I'm a complete newbie, so my apologies. Do I install calendar_plugin (topfunky's) and then copy and paste the code from the gist over the top? Specificially I'd love to know how to integrate this into my Rails app.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tom Dickie</dc:creator><pubDate>Thu, 12 Feb 2009 10:46:23 -0000</pubDate></item><item><title>Re: Making a Real Calendar in Rails</title><link>http://www.cuppadev.co.uk/making-a-real-calendar-in-rails#comment-5648919</link><description>&lt;p&gt;For exporting to iCal, i suggest using the iCalendar gem - &lt;a href="http://icalendar.rubyforge.org/" rel="nofollow noopener" target="_blank" title="http://icalendar.rubyforge.org/"&gt;http://icalendar.rubyforge....&lt;/a&gt; - which is pretty simple and straight forward to use (using an ics mime handler), especially if you use an event schema as suggested by the gist.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Urquhart</dc:creator><pubDate>Thu, 29 Jan 2009 10:39:50 -0000</pubDate></item><item><title>Re: Making a Real Calendar in Rails</title><link>http://www.cuppadev.co.uk/making-a-real-calendar-in-rails#comment-5648510</link><description>&lt;p&gt;This is good. What about going the extra step and exporting it to iCal, Google Calendar, etc? Do you know of any plugins/gems/tutorials on how to go about tacking that?&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tundal45</dc:creator><pubDate>Thu, 29 Jan 2009 10:12:00 -0000</pubDate></item></channel></rss>