The more conventional way to check things like this is `params[:user_id].present?` (this would catch things like `user_id` being a blank string)