is it enough for :is_param => true or do I need to check that there is a join on environment_classes?