Integer fields accepts any value - even those which cannot be converted to a number
19 views
Skip to first unread message
brahmana
unread,
Feb 4, 2012, 6:12:27 AM2/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Mongoid
Hi,
An field of type Integer accepts any value provided. Mongoid attempts
to convert it to an integer or float but if it fails it just accepts
the object as it is.