Rails: Puma server 3 not showing database queries in development -


i upgraded puma version 3. when start development server (rails s -b0.0.0.0), console shows requests, not actual database queries before (version <= 3). couldn't find option it.

how can see database queries in development console?

thanks in advance!

try adding activerecord::base.logger.level = logger::debug environments.rb

or config.log_level = :debug environments/development.rb


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -