Rails 4, backwards compatible