On 30 Jan 2012, at 21:54, Jayme Edwards wrote:

It's based loosely on this post: http://justatheory.com/computers/databases/postgresql/recurring_events.html .

Basically I have events in the database with recurrence patterns. I want to return multiple instances of the same row per event over a range. I'll need to show these occurrences for a variety of purposes (daily calendar view, summarized totals of things done during the occurrences) so if I can find a way to expose the occurrences as a hash or active record objects that I can then join via AREL that would be optimal.

I haven't been following the discussion too closely, but couldn't you either switch to IceCube (https://github.com/seejohnrun/ice_cube) or maybe let some of the code inspire you?


Best regards

Peter De Berdt

--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to