How to achieve sth like if params[:filters][:company_name]
is present (not nil) then do below actions but if it's nil - skip and do the rest of the code below/outside of this if ?
if params[:filters][:company_name]
contains = Process
.where(
'company_name LIKE ?', "#{params[:filters][:company_name].downcase}%"
)
end