Ruby on Rails Discussions
SQL Queries in Rails Console <a href="sdf"></a><object></object>
rubyonrails-talk
hillkj
(hillkj)
February 11, 2011, 1:47pm
1
ActiveRecord::Base.logger = Logger.new(STDOUT)
Related topics
Topic
Replies
Views
Activity
ActiveRecord outside of rails
rubyonrails-talk
0
101
December 16, 2006
Changing where ActiveRecord logs to in the console
rubyonrails-talk
0
119
April 1, 2010
Show SQL request without issuing it
rubyonrails-talk
6
171
July 9, 2008
is there a way in ./script/console to get the SQL debugging showing??? (i.e. like you see when you run ./script/server in development mode)
rubyonrails-talk
3
108
December 12, 2008
ActiveRecord interferring with Logger
rubyonrails-talk
0
120
September 3, 2009