aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/tyre.rb
blob: e50a21ca68acdbcb40c5219fca420402cda12a37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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