Displaying 1 result from an estimated 1 matches for "minvalid".
Did you mean:
invalid
2006 Apr 18
6
Help with Forms
...entered in the text field?
In my controller Im doing this:
params[:asset].each_value do |prod|
records = Asset.find_all_by_tracking_id(prod)
end
However, this gives the error:
----------------------------------------------------------------------------
RuntimeError: ERROR C22P02 Minvalid input syntax for integer: "---
- tracking_id
- "2202045"" Fnumutils.c L84 Rpg_atoi: SELECT * FROM asset WHERE
(asset."tracking_id" = ''---
- tracking_id
- "2202045"'' )
-------------------------------------------------------------------------...