diff options
Diffstat (limited to 'activerecord/test/models/wheel.rb')
-rw-r--r-- | activerecord/test/models/wheel.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/test/models/wheel.rb b/activerecord/test/models/wheel.rb new file mode 100644 index 0000000000..22fc74995f --- /dev/null +++ b/activerecord/test/models/wheel.rb @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +class Wheel < ActiveRecord::Base + belongs_to :wheelable, polymorphic: true, counter_cache: true, touch: :wheels_owned_at +end |