plataformatec/has_scope — pull request #40 by kreeger (2013-05-21 18:46:04+00:00)
Title: Adding "passable_boolean" scope with tests.

I mentioned in issue #13 that I wasn't crazy about my own implementation of this, but I'm putting it up here so it can be discussed and tweaked upon and improved (because hey, it's been 3 years)!

This adds the ability to pass true/false into a controller scope that has a model scope accepting the boolean on the backend.