Hi Arthur, hi, I am having some problem here with field Decimal
Can you try running the following script and paste the output: https://gist.github.com/2346702 I was able to repro it here using that script and I want to confirm it's the same problem you're seeing. I think it may be caused by the following line in the DataObjects driver: https://github.com/datamapper/do/blob/master/data_objects/lib/data_objects/quoting.rb#L37-39 What I'm thinking is that we need to add something to the case statement that returns the result of decimal.to_s('F') so that it can be handled properly by the underlying datastore. I haven't tested this, but that's the approach I'll probably test out when you respond with your results. -- Dan -- You received this message because you are subscribed to the Google Groups "DataMapper" group. To view this discussion on the web visit https://groups.google.com/d/msg/datamapper/-/0poxwET3fykJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/datamapper?hl=en.
