rails/rails — pull request #6149 by jmbejar (2012-05-03 23:25:42+00:00)
Title: Make sure that javascript_include_tag/stylesheet_link_tag methods don't consider duplicated assets

I would like to make sure these helper methods include only once every asset.

Different expansions could include the same asset, at least in one of the projects I'm working on, so those assets could be included more than once, so it would be great have this change for us :)

I'm doing this pull request for Rails 3.2 because we would like to have it in this version.

In order to have it also done in latest rails, it seems we need to do the change in rails_sprockets gem, it seems this code was moved to there in master.

Cheers,
Jorge