I got two models: Rooms and RoomAttributes. There is a many-many relation betwen them:
$this->hasManyToMany( "id", "RoomAttributes", "roomID", "attributesID", "roomattributesrelation", "id", array('alias' => 'attributes') );
Now im creating a form to add a new room and i want to have a list of all attributes as checkboxes. What is the best way to do this and how should i save my room model after?
(sorry for my english)