In the in the play view, where you added the link to the user profile, I think that needs to be href="/profile/<%= @user.id %>". If you're sure it runs, then that's fine.