JavaScriptGenerator in separate .js file, not a view

Is it possible to get some code with JavaScriptGenerator to be
rendered in a separate .js file, not just put in a view with

Is this possible?

I haven’t found any info on this topic, my guess is that this is not
possible, but I wanted to make sure.

On Apr 8, 1:44 am, Paulo P. [email protected]in.invalid wrote:

I haven’t found any info on this topic, my guess is that this is not
possible, but I wanted to make sure.

How about if you had a separate action (and probably controller) that
just rendered some rjs ?

Fred

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs