cyberfly
11/29/2017 - 7:27 AM

Laravel relationship mass assigment update

public function update()
{
  //do not use this, this will ignore fillable rules
  $application_service->appservice_components()->update($request_data);

  //use this syntax below that will adhere to fillable rules
  $application_service->appservice_components->update($request_data);
}