Skip to content
Browse files

Tweaks to make it actually work

  • Loading branch information...
1 parent 33a15f0 commit e0015391fb45f7c8929d478f3fdb148e8e537c76 @jgn jgn committed Sep 22, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −0 init.rb
  2. +0 −1 lib/silent-postgres.rb
View
1 init.rb
@@ -0,0 +1 @@
+require 'silent-postgres'
View
1 lib/silent-postgres.rb
@@ -20,6 +20,5 @@ def #{m}_with_silencer(*args)
if %w(test development).include?(ENV["RAILS_ENV"])
puts "Silencing Postgres"
- require 'silent_postgres'
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.send(:include, SilentPostgres)
end

0 comments on commit e001539

Please sign in to comment.
Something went wrong with that request. Please try again.