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

Remove support for conditions hash in finders.

    XMLWordPrintable

    Details

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

      Description

      As Active Record is removing this in 3.2, we will get rid of it completely in 3.0.0.

      This includes:

      Model.find(:first, :conditions => ...)
      Model.find(:last, :conditions => ...)
      Model.find(:all, :conditions => ...)
      Model.count(:conditions => ...)
       
      model.relation.find(:first, ...)
      model.relation.find(:last, ...)
      model.relation.find(:all, ...)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              durran Durran Jordan
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: