Forum: Ruby on Rails Development Log does not include SQL statements

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
5eb3e713fe10792d3d9065e4a3faa4a0?d=identicon&s=25 Dano (Guest)
on 2009-04-28 16:58
(Received via mailing list)
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?
1ebcd34bbfe62169964bb9a5006de29f?d=identicon&s=25 Manasi V1 (manasi)
on 2009-05-09 17:16
(Received via mailing list)
Can you check if your database.yml has the correct creadentials and
that your app is able to connect to the db ?
This topic is locked and can not be replied to.