silent-postgres
silent-postgres copied to clipboard
silence is deprecated
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!)
+1
+1
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 That's right. Thanks for pointing this out.
@taavo You receive an honorable mention for the ticket title ;)
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 maybe this helps: http://stackoverflow.com/questions/2689377/silencing-deprecation-warnings-in-rails-3