aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/wheel.rb
blob: 22fc74995f90d49613bce6c977cbc21e270f07f1 (plain) (blame)
1
2
3
4
5
# frozen_string_literal: true

class Wheel < ActiveRecord::Base
  belongs_to :wheelable, polymorphic: true, counter_cache: true, touch: :wheels_owned_at
end