Displaying 20 results from an estimated 4000 matches similar to: "concurrent ajax requests"
2006 Mar 16
6
Newbie question - Rails without database
Hello to all,
I am entirely new to Ruby and also to Ruby on Rails. As far as I understand,
Rails builds its model according to the a specified table structuree in in the
database.
However, most of my applications, are for the most part (except some backend
CRUD stuff) not database centric. They do a lot of calculation for the user.
So, how can I create a model, when no database is needed,
2006 Mar 20
22
Applicationwide BusinessObject/Hash
Hello,
I''m a total newbie, so please forgive my ignorance.
I am trying to port an application from java to ruby. In order to do that, I
need to put the object containing all the business logic into something like
application scope.
The nicest solution would be just to have an application wide hash, where I can
put all kinds in of objects.
Where and how would I instantiate such an
2007 Nov 09
1
ruby on rails + ajax + iframe image uploader
hi,
I write a page that contain following function:
this site contain a html file upload control, which allow user to upload
image only.
once the image had been uploaded, it will automatic display on the
current page without refresh entire page.
when the image is saved, it will return javascript that embed in a
iframe (which is also in my current page) that can load the image into
my page (
2006 Jan 29
1
Works with iframe, but not ajax... ?!?
Hello all,
I''ve run into trouble attempting to replicate something in ajax that
worked when done with an iframe...
In both cases I have a table inside a div that is being periodically
refreshed every few seconds... The 1st column of each row in the table
contains a link to a DHTML popup menu. I have the popup menu working in
the ajax version.
The problem is that in the ajax version
2008 Jan 01
2
Ajax.Updater from within an IFrame
Hello together.
I''m trying to call an Ajax.Updater from within an IFrame to update an
element in the parent window.
It is working, but I receive an error from Firefox when I do so.
What I want to do is to upload a file, and then after the file has
completed uploading, automatically reload a section of the page with
information about the file to post-process it.
However, AJAX
2008 Mar 19
6
Back button behavior has changed again in Safari 3.1, after doing a dom update via ajax/RJS
GAH!
Here is the firefox behavior, which is perfect:
1) View page 1
2) Update some text by using link_to_remote or remote_form_for, along
with an RJS replace or replace_html
3) Navigate to page 2
4) Hit back
5) Page was cached with dom updates, note that the page is show in the
same state as it was left
Safari 3.0 behavior
1..4) repeat
5) Page reloads, ending up in the state where it was left
2006 Jan 27
1
Execute script tag loaded from Ajax.Updater call
Hello everyone,
I have an ad serving application that give me a chunk of javascript to
put in each page an when then page it loaded, that javascript executes
and it load a banner ad.
Basically, I''m returned this from the server:
<script language="JavaScript1.1" type="text/javascript"
src="http://mysite.com/execute/this_javascript.js">
</script>
2006 Mar 30
6
Stable Production Environment on Unix/Linux
Hello,
I wonder what would be the most stable production runtime environment for a
rails application on Unix/Linux. I am not very fond of FastCGI indeed, since
it''s not seen any further developement lately.
What are your experiences e.g. with the mongrel server? Has anybody used it for
production?
What are the alternatives?
May be some fine lad could just point me to web site
2010 Jun 26
1
Ajax Form with Multipart File Upload in Rails 3.0
How would I achieve this? In Rails 2.x, I would use responds_to_parent,
but it seems quite unsupported now.
What plugins/gems do people use nowadays that would automate
1) targeting form to iframe
2) sending javascript to iframe
3) having the javascript execute another javascript on parent page
Thank you,
Sharkie
--
Posted via http://www.ruby-forum.com/.
--
You received this message because
2006 Jul 18
6
backgroundrb - Connection closed
Hello,
maybe someone can help with backgroundrb. I''ve written an application, which
makes use of backgroundrb. Everything works fine on my development machine, but
it crashes on my production server.
Something seems to be wrong with backgroundrb, but I don''t know the cause. All I
get is the error message attached below, which is extracted from the production.log.
I
2006 Jun 07
1
Ajax Pan - IFrame
I want to make an IFRAME or some kind of AJax app that will pan an
external page. Also allow for zooming.
Can this be done in Ruby on Rails?
--
Posted via http://www.ruby-forum.com/.
2009 Mar 26
2
send_file using AJAX
I have a AJAX based form and when I use send_file there is no pop-up
that appears to prompt user to download file... how do I fix this?
Regards,
Sudhindra
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email
2006 Mar 15
8
Ajax request for file downloads
I''m not sure if this has been discussed before, but is it possible to
get a file download as a response from Ajax.Request? I know you can
have response txt or xml, but how would I go about requesting a file
download?
Currently I''m requesting the download like this:
window.location =
2004 Jul 16
2
where to sign up for fwd
Could someone please point me to the proper url to register for a fwd
acount and get a fwd number. I couldn't find it at
www.freeworlddialup.com or fwd.pulver.com
Thanks,
-Galt
--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
Benjamin Franklin
2006 Jun 16
2
Javascript error?
Hi, I''m trying to get this progress bar plugin working, but I''m
having some trouble.
I''m running Apache 2.0.52 with mod_fcgid on Mac OS X. Everything
seems to be working fine, but the progress bar simply doesn''t work.
In my log I get:
Multipart upload with progress (id: 1, size: 176731770)
Finished processing multipart upload in 18.96244s
but no requests in
2005 Sep 21
9
Ajax.Updater
Hi all,
I was wondering if one could pull a completely separate web site into a
div, e.g.
<a href="#" onclick="new Ajax.Updater(''artifact'',
''http://www.vivisimo.com/'', {asynchronous:true, evalScripts:true,
onLoading:function(request){Toggle.display(''message2body'')}}); return
false;">»</a>
it fails
2013 Jun 05
1
Precompile with compression in development
Hi,
I''d like to do precompilation with compression in development mode.
I''ve set
config.assets.js_compressor = :uglifier
config.assets.css_compressor = :sass
in development.rb.
But compression only seems to work in production mode, is that right?
Michael Kastner
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2006 Apr 21
1
Is AJAX https request possible from http page ?
Hi all
Is it possible to do https request via AJAX from a http loaded page ?
It''s for minimizing serverload and just send passwords and user-account
stuff via https.
>From my understanding how AJAX works, it is not possible to mix, because
http/https is like cross-domain
In case I am not wrong, maybe someone knows a way around the limitiations
(my first thought: proxing via
2005 Dec 14
1
RE: Form.serialize and Ajax.Request -> fileserialization and encoding
1/ I am trying to send a multipart/form-data encoded form through Ajax
with
by calling Form.serialize, but it seems that files fields does not
support this very well
Is there any special mode to use ?
You cannot send a file through Ajax. You''ll have to submit the form
normally. To mimic Ajax functionality, you could set the target to a
hidden iframe, and on the server side,
2006 Feb 23
1
Ajax, validation, flash messages & redirects...
Hi everyone,
I''m working on an file upload page that uses an ajax progress bar
(http://sean.treadway.info/demo/upload/). I''ve also got validation on
the uploads (must be a certain file size/mime type etc). When uploads
pass validation - all is dandy. But when they fail - I can''t work out
how to redisplay the form with the flash error messages (that normally
appear