Skip to content

Instantly share code, notes, and snippets.

Created November 25, 2011 09:53
What would you like to do?
Print sql queries in console rails 3
Put this in environments/development.rb
#enable sql queries for rails console
ActiveRecord::Base.logger =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment