require at least Rails 3.1 but also allow 3.2