I know, but in ERB I prefer using #tap to scope local variable - this way it's only available inside the block where it's needed and not in the whole view. Usually the code can be simply refactored into a helper method, but sometimes it was useful.
Thanks, Szymon -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to haml@googlegroups.com. To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/haml?hl=en.