I have two models: Item, List_Locations. When I assign locations to a new Item through the form's multi select, the list_location_id array is sent to the item's create_action method.
in it, the way I am able to save the selected choices are:
foreach(Input::post('list_locations') as $location) { $item->list_location[] = Model_List_Location::find($location); }
Is this correct? It would seem that there should be an easier way to assign the input array of location to the item-> side OR at least do a $item->list_location[] = Model_List_Location::find(Input::post('list_locations'));