Skip to content

Instantly share code, notes, and snippets.

@davidphasson
Created April 7, 2009 22:30
Show Gist options
  • Save davidphasson/91507 to your computer and use it in GitHub Desktop.
Save davidphasson/91507 to your computer and use it in GitHub Desktop.
def new
@request = Request.new
# This needs to go somewhere else
@request.lunch_with_mike = true
end
<script>
<% if @request.school_phys_address_same == true %>
$('fo1li52').hide();
<% else %>
$('folli52').show();
<% end %>
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment