在 Rails 中,我們很常用到 javascript,通常不管是用 jQuery 或是其他的 ajax call,透過 routes.rb 中指定的 controller action,它就會去執行對應的 action_name.js.erb...