s3_multipart
s3_multipart copied to clipboard
Initializer breaks font-awesome-rails helpers
The loop that require
s 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 require
s 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.