Rails 3 compatibility for price of lots of deprecation warnings in logs =\