Requires Rails 4.