search for: estimate_lin

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

Did you mean: estimate_id
2005 Aug 25
1
newbie questions about hosting address
...t; :estimate end class EstimateProductLine < EstimateLine end class EstimateCommentLine < EstimateLine end When I try to insert a comment and a product, I get an invalid SQL statement: ActiveRecord::StatementInvalid: #23000 Duplicate entry ''9252-1'' for key 2: INSERT INTO estimate_lines (`estimate_id`, `product_id`, `quantity`, `type`, `comment`, `position`) VALUES(9252, 104, 1, ''EstimateProductLine'', NULL, 1) If I look at my table, I can see the comment, at position 1. Notice ActiveRecord is trying to insert at position 1 again. If I check the log, I can se...