Web services and decimal column type

I have a trouble with rails Web services: “decimal is not a valid base
type”. How I can return model objects with decimal column? Should I
create Struct and copy fields from model to this struct? Is there good
solution?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs