Check a checkbox by id and value:

find(:css, "#services_status_[value='active']").set true

Uncheck:

find(:css, "#services_status_[value='active']").set false