This post originated from an RSS feed registered with Ruby Buzz
by Max Zone.
Original Post: Blocks and Helpers, a Lovely Combination
Feed Title: dzone.com: ruby
Feed URL: http://feeds.dzone.com/dzone/ruby
Feed Description: dzone.com: fresh ruby and rails links for developers
Sometimes, a design requires a little extra markup, perhaps something to get that rounded corner to work or whathave you. Instead of copying and pasting this structure over and over, you can use a helper to make you life easier, and if you combine it with a block, it will just feel even more painless.