diff options
Diffstat (limited to 'activerecord/test/models/item.rb')
-rw-r--r-- | activerecord/test/models/item.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/activerecord/test/models/item.rb b/activerecord/test/models/item.rb index c2571dd7fb..8d079d56e6 100644 --- a/activerecord/test/models/item.rb +++ b/activerecord/test/models/item.rb @@ -1,6 +1,8 @@ +# frozen_string_literal: true + class AbstractItem < ActiveRecord::Base self.abstract_class = true - has_one :tagging, :as => :taggable + has_one :tagging, as: :taggable end class Item < AbstractItem |