Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[Fix #3629] Add TargetRailsVersion functionality #4107
As described in #3629 , this
The main problem this solves is when adding RuboCop to an older Rails 4
There is a fair bit more duplication (specifically of specs) than I'd
Before submitting the PR make sure the following are checked:
added a commit
this pull request
Mar 12, 2017
Requested changes made. I'm happy to squash it all down to one commit when we are all
I'm not totally sure which cops this would apply to. The only one I came across what the http verb cop. Are there any others I should look at updating?
This is certainly Rails 4+ https://rubocop.readthedocs.io/en/latest/cops_rails/#railsactionfilter
Not sure about the rest. Guess someone should consult the Rails 4 changelog as it happened a while ago and I don't remember what else was added then.