Allow Rails 4