Save 36% for Black Friday! Learn more

New Discussion

Notifications

You’re not receiving notifications from this thread.

JSP rails 7 acts-as-taggable-on couldn't find a valid model

1
Gems / Libraries

With the last version of JSP ( rails 7) the compatible gem is "acts-as-taggable-on", "~> 5.0"

And after done the migration and try acts_as_taggable_on :tags and acts_as_taggable I get this errors

Rails couldn't find a valid model for ::ActsAsTaggableOn::Tagging association. Please provide the :class_name option on the association declaration. If :class_name is already provided, make sure it's an ActiveRecord::Base subclass.

Any idea how to fix this ?

looks like is a problem with the gem, is not updated yet on rubygems so have to add this

gem "acts-as-taggable-on", "~> 9.0", github: "mbleigh/acts-as-taggable-on"

Join the discussion
Create an account Log in