Customer.find(:all, :select => 'id', :order => 'updated_at DESC', :readonly => true, :conditions => { :status_id => Customer.id_for_status(params[:id].to_sym) }, :offset => offset, :limit => 30).collect(&:id)
Above is my query in that I am getting warning like
Symbol conversion from unsafe string (parameter value) near line 33: params[:id].to_sym
This is the warning of Denial of Service. Anybody have any idea how can I fix this warning?
Thanks In Advance