has_scope — Dynamic Rails Resource Filtering | Open Awesome