Development Log does not include SQL statements

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?

Can you check if your database.yml has the correct creadentials and
that your app is able to connect to the db ?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs