Hi, I've recently started learning Ruby on Rails, based on RoR3 beta/RC. I had earlier been developing applications using other frameworks (like Django), where the JavaScript had been written completely on my own.
When developing application using RoR, I get confused by the two possible ways of implementing JavaScript: the "pure" one (writing JavaScript and putting it in the <script>
tag) and writing RJS files.
Which of the approach should rather be used and when? If RJS, how do I implement particular actions like onChange
?