From lubo at manolov.org Mon Oct 20 10:46:03 2008 From: lubo at manolov.org (Luben Manolov) Date: Mon, 20 Oct 2008 17:46:03 +0300 Subject: [Railstat-list] rail_stat in rails 2.1 In-Reply-To: <67294D0B-7AA1-4C3A-8164-47FF7CAC869C@prettybycritty.com> References: <15FFC22A-20BF-462F-B9DA-401B9D9F1715@prettybycritty.com> <5ad854c30809280338v66dded7bqde372e2d7918b75a@mail.gmail.com> <67294D0B-7AA1-4C3A-8164-47FF7CAC869C@prettybycritty.com> Message-ID: <5ad854c30810200746r3806610cs391226c9c82e50ea@mail.gmail.com> Thanks for your fixes Phil! Everything is commited in the repository http://github.com/lmanolov/railstat/tree/master I've also uploaded a new version (2.0.0) of the gem to rubyforge. I guess it will be available for download in a couple of hours. Best regards, Luben On Mon, Sep 29, 2008 at 11:13 PM, Philip Ingram wrote: > So I'm not sure if this helps, but it works. > > I changed the following: > rail_stat_helper.rb > Line 166 changed to : ts = Time.parse(t.to_s) #Time.at wasnt' working for > me, as it needs to be in seconds, and the parse can take the string from the > DB, as is. > > rail_stat.rb model > Line 65 changed to : Time.parse(self.created_at.to_s) #same reasoning. > > I'm not sure if the times are working, but I'll take it. I can navigate > through all the sites unscathed now. > > I'm probably going to add this to my open source social networking project > Touque_Dog_core, found on github too: > http://github.com/nerbie69/touque_dog_core/tree/master > > Let me know if this gets back to being a gem or not. > thanks for your work > Phil > On 28-Sep-08, at 8:23 PM, Philip Ingram wrote: From philip at prettybycritty.com Tue Oct 21 18:29:55 2008 From: philip at prettybycritty.com (Philip Ingram) Date: Tue, 21 Oct 2008 18:29:55 -0400 Subject: [Railstat-list] rail_stat in rails 2.1 In-Reply-To: <5ad854c30810200746r3806610cs391226c9c82e50ea@mail.gmail.com> References: <15FFC22A-20BF-462F-B9DA-401B9D9F1715@prettybycritty.com> <5ad854c30809280338v66dded7bqde372e2d7918b75a@mail.gmail.com> <67294D0B-7AA1-4C3A-8164-47FF7CAC869C@prettybycritty.com> <5ad854c30810200746r3806610cs391226c9c82e50ea@mail.gmail.com> Message-ID: thanks luben, glad you could use them. One more to make this plugin fantastis, is we should fix the generator. small but 'big' impact thing. Create the following directories: rail_stat > generators>rail_stat and then put your rail_stat_generator.rb file and the whole templates directory in there. leave the other files where they are in the root rail_stat directory and you have a nice genreator that will work awesome. One other thing, how about watching my project on github. it's called touque_dog_core and it will help me in my stats become a great social appliance :-) Or/and you can recommend me on working_with_rails too! i'll look for you too. thanks Phil On 20-Oct-08, at 10:46 AM, Luben Manolov wrote: > Thanks for your fixes Phil! > > Everything is commited in the repository > http://github.com/lmanolov/railstat/tree/master > I've also uploaded a new version (2.0.0) of the gem to rubyforge. I > guess it will be available for download in a couple of hours. > > Best regards, > > Luben > > On Mon, Sep 29, 2008 at 11:13 PM, Philip Ingram > wrote: >> So I'm not sure if this helps, but it works. >> >> I changed the following: >> rail_stat_helper.rb >> Line 166 changed to : ts = Time.parse(t.to_s) #Time.at wasnt' >> working for >> me, as it needs to be in seconds, and the parse can take the string >> from the >> DB, as is. >> >> rail_stat.rb model >> Line 65 changed to : Time.parse(self.created_at.to_s) #same >> reasoning. >> >> I'm not sure if the times are working, but I'll take it. I can >> navigate >> through all the sites unscathed now. >> >> I'm probably going to add this to my open source social networking >> project >> Touque_Dog_core, found on github too: >> http://github.com/nerbie69/touque_dog_core/tree/master >> >> Let me know if this gets back to being a gem or not. >> thanks for your work >> Phil >> On 28-Sep-08, at 8:23 PM, Philip Ingram wrote: > _______________________________________________ > Railstat-list mailing list > Railstat-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/railstat-list