s3_multipart icon indicating copy to clipboard operation
s3_multipart copied to clipboard

Initializer breaks font-awesome-rails helpers

Open artem-mindrov opened this issue 11 years ago • 0 comments

The loop that requires all the uploaders breaks view helpers defined in the font-awesome-rails gem, i.e. I'm starting to get undefined method 'fa_icon' errors. Seems like those requires somehow mess up lookup paths?

As a workaround, I had to explicitly include the module into ActionView in a separate initializer within my app:

ActionView::Base.send :include, FontAwesome::Rails::IconHelper

There might be other gems affected in the same way.

artem-mindrov avatar Jan 12 '14 18:01 artem-mindrov