Display SQL queries in log with Rails 4
问题 I'm using Rails 4.0.4 with Ruby 2.1 and Thin 1.6.2 on Ubuntu 14.04 through my terminal "Terminator" and my shell "Fish Shell". When I'm launching my Rails server in development mode I don't have the SQL queries in my logs only the JS and HTML files are loaded. I'm searching for something like that: User Load (3.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1 (2.0ms) SELECT COUNT(*) FROM "users" WHERE (driver_register_state_cd = -2) 回答1: the rails