For my client side development I use MooTools primarily, I have also just recently started learning rails. What is the best method of using Mootools in rails pages? Just adding my code inline like I would any other server side language? Or is there a better and cleaner way to do things?
Basically I’m asking the most conventional way of integrating Mootools into my rails application.
What version of Rails are you using? Starting from Rails 3, the preferred way is to use unobstrusive javascript and there is a driver for Mootools to do that.