ruby on rails - money representation in mongoid -
ruby on rails - money representation in mongoid -
how should work money mongoid? should configure bigdecimal? , @ rails level? activerecord have called money, afaik supports ar
mongodb stores numbers in various bson info types (int, long int, double). recommend store money cents (if u.s. currency) , utilize long int datatype.
ruby-on-rails mongodb mongoid
Comments
Post a Comment