I''m using rails 2.2.2 on windows with sql server I have the following in my ''environment.rb'' config.log_level = :debug development.rb has the following config.cache_classes = false config.whiny_nils = true config.action_controller.consider_all_requests_local = true config.action_view.debug_rjs = true config.action_controller.perform_caching = false config.action_mailer.raise_delivery_errors = false I''d like to see the SQL commands logged to the development log file, but I don''t see any. Can someone please tell me why SQL is not being logged?
vora.manasi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2009-May-08 06:30 UTC
Re: Development Log does not include SQL statements
Can you check if your database.yml has the correct creadentials and that your app is able to connect to the db ? On Apr 28, 7:57 pm, Dano <mclean.dan...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''m using rails 2.2.2 on windows with sql server > > I have the following in my ''environment.rb'' > config.log_level = :debug > > development.rb has the following > config.cache_classes = false > config.whiny_nils = true > config.action_controller.consider_all_requests_local = true > config.action_view.debug_rjs = true > config.action_controller.perform_caching = false > config.action_mailer.raise_delivery_errors = false > > I''d like to see the SQL commands logged to the development log file, > but I don''t see any. > > Can someone please tell me why SQL is not being logged?