2017-07-09 13:41:28 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2010-08-03 17:26:59 -04:00
|
|
|
class Tyre < ActiveRecord::Base
|
|
|
|
belongs_to :car
|
2014-12-22 17:38:58 -05:00
|
|
|
|
|
|
|
def self.custom_find(id)
|
|
|
|
find(id)
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.custom_find_by(*args)
|
|
|
|
find_by(*args)
|
|
|
|
end
|
2010-08-03 17:26:59 -04:00
|
|
|
end
|