eRuby: How to use Ruby CGI and ERB templating for Web Pages

Ruby is a great language to use to create a dynamic website. Here's how to use it to do CGI scripting. Using eRuby ERB templating to seperate the HTML from the script makes CGI a perfect alternative to using the Rails framework. Easy and faster than you would expect. So easy in fact that you may forget about using Rails all together.

 

Share this Listing