I am sorry here it is again:

I have tried posting to test method and it doesn't do anything. The
browser stays on waiting for response...and after a couple of minutes
I get this:

Timeout::Error in BuildsController#create execution
expired

def create
  require 'net/http'
  require 'uri'
  @build = Build.new(params[:build])
  if @build.save
    res = Net::HTTP.post_form(URI.parse('http://localhost:3000/apps/1/
build'),  {'q'=>'ruby', 'max'=>'50'})
  end
end

def test
  puts params[:q]
  puts params[:max]
end
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to