There doesn't seem to be any particular reason to exclude these. It's at
least nice to have consistent use of quotes within the same file.
This does run the risk of imposing our specific rubocop rules on other
people's code (double vs single quotes is the cause of holy wars), but
if anything obviously awful comes up, we can exclude generators from
that specific rule.
We do however need to exclude the templates, since these have a .rb
extension despite containing erb tags.
This matches the examples in the README, and is the correct behavior for
anyone using ActiveRecord. Passing the `scope` object directly out can
cause weird behavior when used like `policy_scope(MyKlass)`.
See gh-17 for initial discussion. I think that the default provided
before this commit is confusing, because an empty result is not a
good indicator of authorization failure. Returning false better
communicates "override this is you want it".