```
return false unless params[:mechanic_id]

mechanic = Mechanic.find(params[:mechanic_id])
update_attributes(
  status:      :assigned,
  assigned_at: DateTime.now
  mechanic_id: mechanic.id
)