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

Delete field from Mongoid model at runtime.

    • Type: Icon: Task Task
    • Resolution: Done
    • 12_01_17
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Hello everyone!
      I have a question.

      Does anybody else want to be able to delete the field from a model at runtime using standard Mongoid gem?

      E.g:

      Model.remove_field(:name)
      

      Or possibly, a better idea would be to write the code for this feature as an additional plugin/extension?
      Thanks.

            Assignee:
            Unassigned Unassigned
            Reporter:
            mamantoha mamantoha
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: