search for: c42804

Displaying 1 result from an estimated 1 matches for "c42804".

Did you mean: d42804
2006 Mar 01
2
active_record postgresql adapter problem
...c I created the field "unit_price" as PostgreSQL type money. Now when I try and add a row I get the following. How do I override AR default behaviour to cast numeric post data to money, or am I forced to only support database types that active_record knows about? RuntimeError: ERROR C42804 Mcolumn "unit_price" is of type money but expression is of type numeric HYou will need to rewrite or cast the expression. Fparse_target.c L361 RupdateTargetListEntry: INSERT INTO line_items ("order_id", "product_id", "quantity", "unit_price") VA...