Skip to content

Instantly share code, notes, and snippets.

@jbailey
Created June 10, 2009 23:04
Show Gist options
  • Save jbailey/127567 to your computer and use it in GitHub Desktop.
Save jbailey/127567 to your computer and use it in GitHub Desktop.
# in application_helper.rb
def comment(&block)
#SWALLOW THE BLOCK
end
# in code
<% comment do %>
stuff to comment out here
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment