How can we enabled SQL query logging in production environment?
Thanks,
Imran
In your environments/production.rb
config.log_level = :debug
Remember you need to restart the web server to apply the changes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With