Archive for March 6th, 2009

This in Ruby/Rails:
1<%= request.path %>
Seems to be the equivalent of this in PHP:
1<?=$_SERVER[’PHP_SELF’]?>
Handy for submitting things to themselves with out any parameters being passed.


top