You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the draper gem in my application which stores decorators in app/decorators. Now spina gave me the warning:
using app/decorators is deprecated in favor of app/overrides. Read more about overriding Spina at spinacms.com/guides
I'm not overriding spina decorators, so the message is misleading anyway.
However, when I tried to upgrade to Rails 7.2 today, this became a blocker because apparently ActiveSupport::Deprecation.warn isn't available anymore.
NoMethodError: private method `warn' called for ActiveSupport::Deprecation:Class (NoMethodError)
ActiveSupport::Deprecation.warn("using app/decorators is deprecated in favor of app/overrides. Read more about overriding Spina at spinacms.com/guides")
What would be the best solution here? Could you just remove the warning?
The text was updated successfully, but these errors were encountered:
I'm using the draper gem in my application which stores decorators in
app/decorators
. Now spina gave me the warning:I'm not overriding spina decorators, so the message is misleading anyway.
However, when I tried to upgrade to Rails 7.2 today, this became a blocker because apparently
ActiveSupport::Deprecation.warn
isn't available anymore.What would be the best solution here? Could you just remove the warning?
The text was updated successfully, but these errors were encountered: