Displaying 1 result from an estimated 1 matches for "used_on".
Did you mean:
used_len
2005 Dec 17
0
bug? saving (valid) updated object results in validation error
...t < 0
> end
Using script/console as follows:-
> >> c = Coupon.find :first
> => #<Coupon:0x24d3e64 @attributes={"created_on"=>nil,
> "account_id"=>nil, "updated_on"=>nil, "product_id"=>"11",
> "used_on"=>nil, "id"=>"42", "used"=>"f",
> "voucher"=>"22334455667788990011", "price_sold"=>"0.0"}>
> >> c.save
> => false
> >> c
> => #<Coupon:0x24d3e64 @errors=#<...