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

Remove support for conditions hash in finders.

    • Type: Icon: Task Task
    • Resolution: Done
    • 3.0.0
    • Affects Version/s: None
    • Component/s: None

      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, ...)
      

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

              Created:
              Updated:
              Resolved: