Rails 4 updates