Displaying 1 result from an estimated 1 matches for "route_num".
Did you mean:
route_nu
2006 Aug 08
3
params object nil in controller action
...identSearch] found .......")
params = session[:incidentSearch]
end
logger.debug("final params.nil?=#{params.nil?}") # *print true*
condition = nil
if params[:routeNum] and !params[:routeNum].empty? # *<=== params is nil
by now** *
condition = ["(route_num = ?)", params[:routeNum].strip]
end
#proceed with find operation in model and render results
________________________________________________________________________
here is my logger output when I search for the first time
if params.nil?=false
NOT FOUND :incidentSearch
final params.ni...