Skip to navigation

Question:
How to call a javascript function from the rails controller?

Use simple algorithms as well as simple data structures.