code
ref
tools
stashbox
RSS
Donate
Login
FAQ
.
Search
PROFILE
ARTICLES
CodeGrabber
{ USER }
posts: 23
last: 28-Apr-2008
TITLE:
disable SQL and MySQL in rails logging in development mode
DESCRIPTION:
disable SQL / MySQL in rails logging in development mode
Submitted
:
28-Nov-2007 04:23:58
( 1yrs 5w 6d 2h ago )
Language
:
Rails (*.rb *.rhtml)
Views
:
177
Lines of Code
:
6 LINES
Rating
:
rate:
( rated! )
{ 0.00 / 5 }
Difficulty
:
Intermediate
Bookmark
Normal
Normal
Line Numbers
Line Numbers
Colour
Colour
All Options
All Options
// // ActiveRecord::Base.logger = Logger.new("#{RAILS_ROOT}/log/#{RAILS_ENV}_database.log")