Rails 4 tweaks