I think 'Deployment.deploys' is a really weird name because you use the name of the class in the method. How about `Deployment.with_tag(params[:tag])`.