This post originated from an RSS feed registered with Ruby Buzz
by David Heinemeier Hansson.
Original Post: Rails for Strut-ters: Dealing with the view
Feed Title: Riding Rails
Feed URL: http://sedoparking.com/search/registrar.php?domain=®istrar=sedopark
Feed Description: The knowledge diff for all things Rails
Brian McCallister is doing an excellent job showing Strut-ters how Rails work by comparing it to their own environment. In this round, he’s taking a look at the oh-horror that is unleashing a real programming language on view logic. He finds that perhaps it’s not so bad at all comparing:
<% for invite in @invitations %>
...
<% end %>
...from Rails to the JSP approach of tag libraries with:
But that’s nitpicking. Brian is doing a fabulous job expressing the unknown in familiar terms. If you’re in need for something more visual on the Helpers, see this video demonstrating how to create a helper method in Rails.