rails 4 deprecation warnings