Since you've changed the orientation of the message to user association, this method is not needed. if message `belongs_to` user, you can call `message.user`, which will get the user where id is equal to `user_id`.