`event.users << user` is enough. You can remove `user.events << event`. @gotar wrote about it in some comment