Sha256: 451b74e84eb287ce21f8ec92b576c742e7f39542d994d0ba1018302774f2d4ed
Contents?: true
Size: 460 Bytes
Versions: 3
Compression:
Stored size: 460 Bytes
Contents
# 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
3 entries across 3 versions & 1 rubygems