diff --git a/app/views/integrations/rest_api.html.erb b/app/views/integrations/rest_api.html.erb
index da6177d..0012d7e 100644
--- a/app/views/integrations/rest_api.html.erb
+++ b/app/views/integrations/rest_api.html.erb
@@ -196,7 +196,7 @@ Loading development environment (Rails 1.2.4)
 
 <pre>
 <code>
-$ SITE="http://username:p4ssw0rd@<%= @request.host_with_port %>" irb \
+$ SITE="http://username:p4ssw0rd@<%= request.host_with_port %>" irb \
     -r tracks_api_wrapper.rb
 
 irb(main):001:0&gt; inbox = Tracks::Context.find :first
