Tutorials for photoshop, javascript, php, html, css, flash, and more!

tutorials for photoshop, javascript, and php
   The Machine | Search for a cog | Submit a cog

Using Ruby Blocks for Custom Rails Tags

Ok, here’s the problem. I had a helper method that iterated through a collection of menu items and printed them successively to the screen. The issue is that now I want to wrap certain HTML around the links it generates, however this HTML could change rather regularly…

Click here for this Tutorial!