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
NoMethodError: undefined method `fa_icon' for #<#<Class:0x0000000006ad52e0>:0x00000000069a60b8>
/usr/local/bundle/gems/draper-2.1.0/lib/draper/helper_proxy.rb:35:in `block in define_proxy'
I was able to work around the issue (taking inspiration from here) by creating a config/initializers/draper.rb with:
Draper::HelperProxy.extend ApplicationHelper
I presume that is something which normally happens automagically, but is somehow being skipped when I'm running through after_party?
I have a decorator which looks like:
It works just fine when called either:
rails server
rake
taskHowever when I call the same code in an after_party task I get:
I was able to work around the issue (taking inspiration from here) by creating aconfig/initializers/draper.rb
with:I presume that is something which normally happens automagically, but is somehow being skipped when I'm running through after_party?
Versions:
The text was updated successfully, but these errors were encountered: