@svandragt when it gets really dynamic other solutions can be used. Official Rails 5 tutorials for a barebone chatapp (still) use jQuery :)

A murb'ed feed, posted more than 8 years ago filed in svandragt.

Go to the original link.