Sha256: 724395a03ecd6c7a687f4cc67b55b967fc067b8eda1fa7850b5d10ab7a844ba4

Contents?: true

Size: 204 Bytes

Versions: 4

Compression:

Stored size: 204 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

4 entries across 4 versions & 1 rubygems

Version Path
ibm_db-5.5.0-x86-mingw32 test/models/tyre.rb
ibm_db-5.4.1-x86-mingw32 test/models/tyre.rb
ibm_db-5.4.0-x86-mingw32 test/models/tyre.rb
ibm_db-5.3.2-x86-mingw32 test/models/tyre.rb