Sha256: 231ab9bb226f9ccd980ed736be13164647d5998e4e099736a3efe7ad1aa5608d

Contents?: true

Size: 295 Bytes

Versions: 22

Compression:

Stored size: 295 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

22 entries across 22 versions & 7 rubygems

Version Path
FreedomCoder-utility_belt-1.1.1.2 lib/utility_belt/rails_verbosity_control.rb
FreedomCoder-utility_belt-1.1.1 lib/utility_belt/rails_verbosity_control.rb
akitaonrails-utility_belt-1.0.10 lib/utility_belt/rails_verbosity_control.rb
akitaonrails-utility_belt-1.0.11 lib/utility_belt/rails_verbosity_control.rb
akitaonrails-utility_belt-1.0.12 lib/utility_belt/rails_verbosity_control.rb
mguterl-utility_belt-1.0.7 lib/utility_belt/rails_verbosity_control.rb
rwilcox-utility_belt-1.0.7 lib/utility_belt/rails_verbosity_control.rb
rwilcox-utility_belt-1.0.9 lib/utility_belt/rails_verbosity_control.rb
timocratic-utility_belt-1.0.7.1 lib/utility_belt/rails_verbosity_control.rb
timocratic-utility_belt-1.0.7.2 lib/utility_belt/rails_verbosity_control.rb
timocratic-utility_belt-1.0.7.3 lib/utility_belt/rails_verbosity_control.rb
flyrb-1.0.0.c lib/flyrb/rails_verbosity_control.rb
flyrb-1.0.0.b lib/flyrb/rails_verbosity_control.rb
flyrb-1.0.0.a lib/flyrb/rails_verbosity_control.rb
akitaonrails-utility_belt-1.0.13 lib/utility_belt/rails_verbosity_control.rb
utility_belt-1.0.6 lib/rails_verbosity_control.rb
utility_belt-1.0.4 lib/rails_verbosity_control.rb
utility_belt-1.1.0 lib/utility_belt/rails_verbosity_control.rb
utility_belt-1.0.3 lib/rails_verbosity_control.rb
utility_belt-1.0.1 lib/rails_verbosity_control.rb