why not just 

```
if merge_request.author_id
  create_event(merge_request, Event.determine_action(merge_request))
end
```
Why add extra variable?