jbailey
6/10/2009 - 11:04 PM

comment_block.rb

# in application_helper.rb
def comment(&block)
  #SWALLOW THE BLOCK
end

# in code
<% comment do %>
  stuff to comment out here
<% end %>