summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-04-11 00:32:20 +0200
committerhukl <contact@smyck.org>2009-04-11 00:32:20 +0200
commitfb1b58233df206fff3ec4237caf5fe5576b80a9b (patch)
tree473216f85267f41238fa777f6a48d36745b4d609 /app/models
parent44e1eff0155d3da825ae7f4ef9e334a8e231e909 (diff)
removed lib/chaos_calendar as we now have the erdgeist-chaos_calendar gem on github - YAY!
Diffstat (limited to 'app/models')
-rw-r--r--app/models/occurrence.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/occurrence.rb b/app/models/occurrence.rb
index a8e76a5..8f75c2c 100644
--- a/app/models/occurrence.rb
+++ b/app/models/occurrence.rb
@@ -1,5 +1,5 @@
1# TODO Make a gem out of the c wrapper 1# TODO Make a gem out of the c wrapper
2require 'lib/chaos_calendar/ical_occurrences' 2require 'chaos_calendar'
3 3
4class Occurrence < ActiveRecord::Base 4class Occurrence < ActiveRecord::Base
5 5
@@ -47,7 +47,7 @@ class Occurrence < ActiveRecord::Base
47 # Return value is always an array of Time objects. 47 # Return value is always an array of Time objects.
48 def self.generate_dates event 48 def self.generate_dates event
49 if event.rrule 49 if event.rrule
50 Ical_occurrences::occurrences( 50 ChaosCalendar::occurrences(
51 event.start_time, 51 event.start_time,
52 (Time.now + 5.years), 52 (Time.now + 5.years),
53 event.rrule 53 event.rrule