You don't need a respond_with here. It doesn't buy you anything extra like it does in `create`/`update` actions.

I think the original line is fine, isn't it? `@student.groups.new` should create a group with one student, which *should* check that student's name in the checkboxes automatically.