User-configurable  scope plugin for Rails