lib/scrivito/obj_collection.rb in scrivito_sdk-1.5.5 vs lib/scrivito/obj_collection.rb in scrivito_sdk-1.6.0.rc1

- old
+ new

@@ -61,12 +61,14 @@ # def find_by_permalink(permalink) find_by(:permalink, [permalink]).first.min_by(&:id) end - # Returns an {ObjSearchEnumerator} with the given initial subquery consisting of the four arguments. + # Returns an {ObjSearchEnumerator} with the given initial subquery consisting of the + # four arguments. # - # Note that +field+ and +value+ may also be arrays for searching several fields or searching for several values. + # Note that +field+ and +value+ may also be arrays for searching several fields or searching + # for several values. # # {ObjSearchEnumerator}s can be chained using one of the chainable methods # (e.g. {ObjSearchEnumerator#and} and {ObjSearchEnumerator#and_not}). # # @param [Symbol, String, Array<Symbol, String>] field See {ObjSearchEnumerator#and} for details