Hi all,
I updated rails to 1.1.2, and somehow, when I run script/server on a new
rails project, I don’t see the sql queries in the console any more… It
was very useful to see them live…
Does any one have any idea why?
Thank you very much!
Nauhaie
Hey Nauhaie, when you run script/server within a rails project, it will
run
lighttpd
If you would like to run webrick instead, you’ll need to do the
following:
script/server webrick
Finally, if you’re wanting to see the SQL that’s get executed, then
lighttpd
does the job for you.
Peace,
-Conrad
Nauhaie wrote:
Hi all,
I updated rails to 1.1.2, and somehow, when I run script/server on a new
rails project, I don’t see the sql queries in the console any more… It
was very useful to see them live…
Does any one have any idea why?
Thank you very much!
Nauhaie
You need to do tail -f log/development.log to see the SQL queries.
j`ey
http://eachmapinject.com
ruby -e ‘c,y=(r,s,p=%w(rock scissors
paper))[rand(3)];d={s,{p,0,r,1},p,{r,1,s,0},r,{s,1,p,0}}
until(y=~/(#{r}|#{s}|#{p})/);$><<“#{[r,s]", "} #{[“or”,p]”
“}?\n”;y=gets.chomp;end
$><<“You:#{y}\nComp:#{c}\n”;$><<“You
#{d[y][c]?(d[y][c]==1?“Win”:“Lose”):“Draw”}\n”’
Thank you very much! It works perfectly 
Nauhaie