Preemptive support for Ransack scopes

https://github.com/activerecord-hackery/ransack/pull/288