Rails illustration of many_to_many models and nested forms