Advent links

Well, I recommend two links for Ruby and Rails fan. Advent like calendars but instead of chocolate nice Ruby and Rails tips. From other things – exactly as Amazon has predicted two books I’ve ordered, have arrived here to Poland. I’m impressed with delivery date prediction, polish companies could learn a lot from Amazon. Anyway, …

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 …