Skip to content

Instantly share code, notes, and snippets.

@AlexTalker
Created February 4, 2014 17:09
Show Gist options
  • Save AlexTalker/8808037 to your computer and use it in GitHub Desktop.
Save AlexTalker/8808037 to your computer and use it in GitHub Desktop.
why this code crashed?
<form action='/post' method='POST'>
Name: <input name='name' value='<%unless session[:name].empty? do%><%=session[:name]%><%end%>' size='10'><br/>
Message: <input name='msg' value='<%unless session[:msg].empty? do%><%=session[:msg]%><%end%>' size='140'><br/>
<input type='submit'>
</form>
<br/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment