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

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -