Reposting from an issue I opened as I was told this would be more 
appropriate (https://github.com/rails/rails/issues/7265 )

Although `helper.asset_paths.compute_public_path` is publicly available, it 
won't actually return the right value for the asset.

It is used by helpers like `image_tag`, but `sprockets` is actually 
overriding these methods.

I'm probably not being super clear. In any case, it makes it very difficult 
to know what's going on, and very hard to add your own type of asset, as 
I'm doing in my gem `swf_fu`. See 
https://github.com/marcandre/swf_fu/issues/8

My feeling is that it would be best if Rails could cooperate nicely with 
the gems it uses out of the box so that methods are not overriden by the 
gems, especially not in an incompatible way.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-core/-/ELVZ9p8qfUEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to