If you add tags one by one,
acts_as_taggable_on :tags
acts_as_taggable_on :attributes
acts_as_taggable_on :tags2
initialize_acts_as_taggable_on_ownership does not run right with Rails 7 (7.0.8.7, or something changed between gem versions 10 and 11).
NoMethodError: undefined method 'tags_from'
It was ok with older Rails versions (6 -> 5) or gem version 10.
Making them acts_as_taggable_on :tags, :attributes, :tags2 helps.
Or running Model.initialize_acts_as_taggable_on_ownership when playing with the feature in rails console.
If you add tags one by one,
initialize_acts_as_taggable_on_ownershipdoes not run right with Rails 7 (7.0.8.7, or something changed between gem versions 10 and 11).NoMethodError: undefined method 'tags_from'It was ok with older Rails versions (6 -> 5) or gem version 10.
Making them
acts_as_taggable_on :tags, :attributes, :tags2helps.Or running
Model.initialize_acts_as_taggable_on_ownershipwhen playing with the feature in rails console.