Upgraded to Rails 4
This commit is contained in:
@@ -103,6 +103,6 @@ end
|
||||
I18n.l(self.start) +" "+ I18n.t("cal.bis")+" "+ I18n.l(self.ende, :format=>format)
|
||||
end
|
||||
end
|
||||
scope :public, -> { where(:public => :true) }
|
||||
# scope :public, -> { where(:public => :true) }
|
||||
# scope :upcoming, -> { where("start >= ?" , Time.now).where("start <= ?", 28.days.from_now) }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user