Javascript_include_tag

Hello Rubyians,

I have some javascript files inside deep nested directories. So, to
include them all: i am doing like <%= javascript_include_tag :all,
:recursive => true %>. But at the same time, i do not want one file (say
abc.js) to be included into the page.

So, do we have any option/parameter to it which can help me out? Or may
be you guys can suggest me some easy way to do it instead of fetching
file one by one.

Thanks a lot in advance.

  • Hemant B.

I haven’t tried this one, but sounds closer to what you are looking for:

Can Rails' javascript_include_tag ignore previously-loaded scripts? - Stack Overflow

Regards,


Edmond
*Systems Developer | Blantyre | Malawi

*“If everything in Ruby is an object, so who is the subject?” –
self.author