blob: 03ba9d3364c2ab12c93452f8d4bad6ec39e0b478 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
# 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
|