Hello Giovanni,
it would be useful to know if the decimals are still there in the bulk file
(I suppose so) or if they are still there.

If it can help you, in my cases I use :float in the migration (which is good
enough for me) and things seem to work fine.

cheers,

-- Thibaut

2009/3/31 Giovanni Messina <[email protected]>

> Using this post_process I lose the decimal places of which there are
> suggested_retail_price in outfile
>
> ---------------
> in the ctl file:
>
> post_process :bulk_import, {
>    :file => outfile,
>    :truncate => true,
>    :columns => [:id,:description,:suggested_retail_price],
>    :field_separator => "\t",
>    :target => :development,
>    :table => 'product_dimension'
>  }
>
> -----------------
>
> the migration file is
>
> :id => :integer,
> :description => :string,
> :suggested_retail_price => :decimal
>
> -------------------
>
> how do I act?
>
> Giovanni
>
> _______________________________________________
> Activewarehouse-discuss mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/activewarehouse-discuss
>
>
_______________________________________________
Activewarehouse-discuss mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/activewarehouse-discuss

Reply via email to