method

references

references(attributes)
public

No documentation available.

# File activerecord/lib/active_record/relation/predicate_builder.rb, line 89
    def self.references(attributes)
      attributes.map do |key, value|
        if value.is_a?(Hash)
          key
        else
          key = key.to_s
          key.split('.').first if key.include?('.')
        end
      end.compact
    end