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
Post a Comment