Tweaks to make it actually work
This commit is contained in:
parent
33a15f0d5e
commit
e0015391fb
@ -20,6 +20,5 @@ end
|
|||||||
|
|
||||||
if %w(test development).include?(ENV["RAILS_ENV"])
|
if %w(test development).include?(ENV["RAILS_ENV"])
|
||||||
puts "Silencing Postgres"
|
puts "Silencing Postgres"
|
||||||
require 'silent_postgres'
|
|
||||||
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.send(:include, SilentPostgres)
|
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.send(:include, SilentPostgres)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user