Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-4030

Typed array as field type

      I'd like to be able to do this:

      field :array_of_symbols, type: Array(Symbol)    # or [Symbol] which is equivalent
      

      and have the string values in the array from the DB to be coerced to Symbols upon demongo-ization.

            Assignee:
            Unassigned Unassigned
            Reporter:
            johnnyshields Johnny Shields
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: