From 7a50df24d95933f399ea51b3f63b99ab707812b4 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Sat, 28 Feb 2026 08:53:38 -0500 Subject: [PATCH] Add logging to get_estimate method for better debugging --- app/controllers/estimate_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/estimate_controller.rb b/app/controllers/estimate_controller.rb index 429b5c2..f58f6bd 100644 --- a/app/controllers/estimate_controller.rb +++ b/app/controllers/estimate_controller.rb @@ -15,6 +15,7 @@ class EstimateController < ApplicationController skip_before_action :verify_authenticity_token, :check_if_login_required, unless: proc {|c| session[:token].nil? } def get_estimate + log "Searching for estimate with params: #{params.inspect}" e = Estimate.find_by_doc_number(params[:search]) if params[:search] e = Estimate.find_by_id(params[:id]) if params[:id]