Johann, The edge branch includes a patch to address the depreciation of Time.today. See the following commit for changes that were made to the statistics and user controllers.
http://github.com/bborn/communityengine/commit/187ce78527aac070069c4336af2bed7a4f7fb69e Justin On Jun 15, 10:35 am, johanntagle <johannta...@gmail.com> wrote: > Don't know why I can't see my post a few minutes ago - is there a > delay in google groups? Anyway, I'll repost it with some corrections. > > From what I saw the whole thing is due to Time.today being deprecated > as of rubygems 0.9.5. Then they started removing it at 1.3.2 and at > 1.3.4 it's completely gone. > > To fix my copy I saved the ff as app_root/lib/timetoday.rb > > def Time.today > t = Time.now > t - ((t.to_f + t.gmt_offset) % 86400) > end > > That's the definition of Time.today in 1.3.1. Then I put a "required > 'lib/timetoday' in environment.rb > > Btw, the only time I encountered this error while using the app is > when going to /statistics (Admin dashboard -> statistics) > > Thanks! > > Johann > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to communityengine@googlegroups.com To unsubscribe from this group, send email to communityengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/communityengine?hl=en -~----------~----~----~----~------~----~------~--~---