Report question

Question: Rails, apply a scope or not depending on whether a parameter is nil