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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Dano (Guest)
on 2009-04-28 18: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?
Manasi V. (Guest)
on 2009-05-09 19: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.