method

array_of_strings?

rails latest stable - Class: ActiveRecord::QueryMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

array_of_strings?(o)
private

No documentation available.

# File activerecord/lib/active_record/relation/query_methods.rb, line 1095
    def array_of_strings?(o)
      o.is_a?(Array) && o.all? { |obj| obj.is_a?(String) }
    end