silent-postgres icon indicating copy to clipboard operation
silent-postgres copied to clipboard

silence is deprecated

Open taavo opened this issue 13 years ago • 6 comments

Updated my app to Rails 3.2.1 and every request and test is awash in deprecation warnings:

DEPRECATION WARNING: silence is deprecated and will be removed from Rails 3.2. (called from tables_with_silencer at (eval):2)
DEPRECATION WARNING: silence is deprecated and will be removed from Rails 3.2. (called from table_exists_with_silencer? at (eval):2)

I disabled silent-postgres, and the warnings went away. Lil help?

(Probably related: #18, Rails #4159. And thanks for the gem!)

taavo avatar Jan 28 '12 14:01 taavo

+1

plentz avatar Feb 09 '12 16:02 plentz

+1

juni0r avatar Feb 10 '12 15:02 juni0r

btw, using rails(3.2.1) and pg (0.13.0) I no longer see the verbose messages that made me use silent-postgres. So, for now, looks like silent-postgres is no longer necessary

plentz avatar Feb 10 '12 15:02 plentz

@plentz That's right. Thanks for pointing this out.

@taavo You receive an honorable mention for the ticket title ;)

juni0r avatar Feb 10 '12 17:02 juni0r

I get the deprecation messages under Rails 3.2.8 also, but using JRuby and hence activerecord-jdbcpostgresql-adapter (1.2.2) if I remove silent-postgres I still see all the noisy pg_catalog queries. So alas, it's noise here or noise there.

pjungwir avatar Oct 05 '12 22:10 pjungwir

@pjungwir maybe this helps: http://stackoverflow.com/questions/2689377/silencing-deprecation-warnings-in-rails-3

sauy7 avatar Oct 25 '12 08:10 sauy7