Sha256: 87e179b598cd8f17eea96da8b88dc4b3ebdc517fd028244a76e858108ef57b89

Contents?: true

Size: 191 Bytes

Versions: 7

Compression:

Stored size: 191 Bytes

Contents

# frozen_string_literal: true

class Tyre < ActiveRecord::Base
  belongs_to :car

  def self.custom_find(id)
    find(id)
  end

  def self.custom_find_by(*args)
    find_by(*args)
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
ibm_db-5.5.1 test/models/tyre.rb
ibm_db-5.5.0 test/models/tyre.rb
ibm_db-5.4.1 test/models/tyre.rb
ibm_db-5.4.0 test/models/tyre.rb
ibm_db-5.3.2 test/models/tyre.rb
ibm_db-5.3.1 test/models/tyre.rb
ruby-on-quails-0.1.0 activerecord/test/models/tyre.rb