Is it possible in rails using a filter that appears, after the view (after_filter), to collect the data that has appeared inside of the javascript_include_tag and stylesheet_link_tag methods?
for example:
---rails view starts
javascript_include_tag 'file.js'
---rails view is complete and after_filter runs
@js_files = get_included_javascript_files_array
Any ideas?