RailsCasts Pro episodes are now free!
Learn more or hide this
Resources
bundle echo "listen 3000, :tcp_nopush => false" > config/unicorn.development.rb unicorn_rails --config-file config/unicorn.development.rb curl -i localhost:3000
stream def index @projects = Project.all # alternative way to enable streaming: # render :stream => true end
<% provide :title, "Projects" %> <% sleep 5 %>
<title><%= yield :title %></title>