Sha256: fdd6d325d60fd0c3459ed9741e12a3dea9109e01cb580d1b31aa3e0590c195dd

Contents?: true

Size: 296 Bytes

Versions: 1

Compression:

Stored size: 296 Bytes

Contents

# Rails verbosity: http://weblog.jamisbuck.org/2007/1/8/watching-activerecord-do-it-s-thing
# Marcel said they toyed with making this the console default on core
class Object
  def log
    ActiveRecord::Base.clear_active_connections!
    ActiveRecord::Base.logger = Logger.new(STDOUT)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
utility_belt-1.0.0 lib/rails_verbosity_control.rb