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
d.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
sin la parte del delicioso
On Mar 9, 7:12 pm,
Hello guys,
I'm working on an app that posts a file to another rails application
who is in charge of running some scripts over it, create a build and
send it back again. Right now I have a form where the user selects the
type of build to run over and a build button. On my controller on the
create
x27;).
>
> regards,
> rey
>
> On 10 Feb, 01:01,bbtosurf wrote:
>
> > Hi
>
> > I currently have a generator which creates a directory of files. I
> > want clients on my app to be able to execute that generator and save
> > those files in their personal f
Hi
I currently have a generator which creates a directory of files. I
want clients on my app to be able to execute that generator and save
those files in their personal folder on the server. The thing is that
I have always executed this generator via terminal and it always
creates the series of f
Hmmm I am not pretty sure, but try checking the path_prefix and
name_prefix methods.
On 8 nov, 11:33, elioncho <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Any ideas, or is this not a very bright idea after all?
>
> Thanks,
>
> Elioncho
>
> On Nov 7, 3:55 pm,elioncho<[EMAIL PROTECTED]> wrote:
>
> > H
6 matches
Mail list logo