restore correct scaffold generation

This restores the original (and correct) behavior, sorry. Broken in https://github.com/rails/rails/pull/11088

```
2.0.0-p195 :003 > User.scope.to_a
ArgumentError: wrong number of arguments (0 for 1..2)
```