I'm fairly new to Ruby on Rails and I'm planing to use a fair amount of javascript in my application. I have done some research but I couldn't find an answer to this one question:
Since you're able to put simple html in all of the views (for example index.html.erb) I was under the assumption that the views basically act as a normal html webpage and therefore you should be able to do everything you can do with a normal html webpage. For example put javascript in it from any library you like as long as you include the right doctypes and provide tags for the sources to the libraries as you would in any other html webpage. Is this correct or is there a catch I'm overlooking?
Because I found a lot on the internet about how it's not so simple to use RoR with any javascript library and that you have to take special steps and so forth...
I really would appreciate it if someone could shed some light on this for me. Thanks!