Don't require Rails 3