Log ActiveRecord Queries to STDOUT

run the following in your console to log the raw sql queries generated:

ActiveRecord::Base.logger = Logger.new(STDOUT)