app/models/ss/extensions/object_ids.rb
# Converts the object that was supplied to a criteria and converts it
# into a database friendly form.
Converts the object that was supplied to a criteria and converts it
into a database friendly form.
Converts the object that was supplied to a criteria and converts it into a database friendly form .
def evolve(object)
      case object
      when self.class
        object.mongoize
      else
        object
      end
    end
def evolve ( object ) case object when self . class object . mongoize else object end end
Converts the object that was supplied to a criteria and converts it
into a database friendly form.
Converts the object that was supplied to a criteria and converts it into a database friendly form .
object
<not_specific>