Hi Y''all... I''m new to rails and would like to setup to log to a database rather than a text file as the standard function seems to do. Any help pointing me in the right direction to do this would be much appreciated. I suppose what I would be doing is finding the right class and extending it to do an activerecord update. This would make for a great tutorial topic, don''t ya think? Thanks! DC --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Em Friday 29 August 2008, DC escreveu:> Hi Y''all... I''m new to rails and would like to setup to log to a > database rather than a text file as the standard function seems to do. > Any help pointing me in the right direction to do this would be much > appreciated. I suppose what I would be doing is finding the right > class and extending it to do an activerecord update. This would make > for a great tutorial topic, don''t ya think? Thanks! DCGoogling for "rails logging to database", I found this: http://wiki.rubyonrails.org/rails/pages/HowtoConfigureLogging Any special needs in order to log to database instead .log files? HTH, -- Davi Vidal -- E-mail: davividal-UiHwsRqXctc1RhZgQKG/ig@public.gmane.org MSN : davividal-uAjRD0nVeow@public.gmane.org GTalk : davividal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Skype : davi vidal YIM : davi_vidal ICQ : 138815296 --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, I would highly recommend completing Part II of the following title: http://pragprog.com/titles/rails3/agile-web-development-with-rails-third-edition Good luck, -Conrad On Fri, Aug 29, 2008 at 12:28 PM, DC <support3css-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi Y''all... I''m new to rails and would like to setup to log to a > database rather than a text file as the standard function seems to do. > Any help pointing me in the right direction to do this would be much > appreciated. I suppose what I would be doing is finding the right > class and extending it to do an activerecord update. This would make > for a great tutorial topic, don''t ya think? Thanks! DC > > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---