#block
2 posts tagged block. Clear filter
-
Yield a Block within Rails Helper Method with Multiple Content_tags Using Concat
To clean up some repetitive html coding in views, pass a block of text to a helper function which will wrap it for you the same way, each and every time. For example, I have a 'help' link which...
-
Cool Conditional Syntax in Ruby (on Rails)
Ruby is beautiful Simply elegant!