Sha256: e9ed93ef8866e793427d1a9775e0838efe67cf4c288fbfe5cebdd4f9d73b7d19
Contents?: true
Size: 474 Bytes
Versions: 1
Compression:
Stored size: 474 Bytes
Contents
# typed: true # frozen_string_literal: true # This class should not be required by the library because # it's used only by tests. # It should be placed in spec/support, but there is a test that # checks the origin of the query, which would return true if # the file was located in a "spec/" folder. class User < ActiveRecord::Base belongs_to :city def self.some_method_with_a_query_missing_index find_by(name: "any") end end class City < ActiveRecord::Base end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wt_activerecord_index_spy-0.5.0 | lib/wt_activerecord_index_spy/test_models.rb |