how to use javascript at theme side with ruby on rails?(provide configuration)

I stuck how to load javascript code to theme side to work with dom element. any help will deserve appreciation.

Hi @santu ,

Want to add Ruby On Rails javascript dom element to your theme?

Please describe it more, I will help you check it