Rails 4 improvements