JavaScript templates – Minus Mor plugin

First we need to install plugin: cd rails_app_directory ./script/plugin install http://svn.danwebb.net/external/rails/plugins/minus_mor Now we can use in views new kind of files .ejs templates. They are just like .rhtml, but instead of embedding Ruby code in HTML, You use JavaScript as an native language, and insert Rails/Ruby code with well known <%= and <% tags. This […]