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

Bug in the #update method of criteria

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: None
    • Labels:

      Description

      Event.where(id: params[:id]).update(params[:event])
      

      When updating record in Rails, fields with Date and DateTime types stores as String

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            Myuzu Myuzu [X] (Inactive)
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: