similar to: Rails/Ajax/File::Tail?

Displaying 20 results from an estimated 40000 matches similar to: "Rails/Ajax/File::Tail?"

2006 Jun 12
3
Ajax - preloading images
I could experiment to figure this out, but maybe the work has been done so I''m going to ask. Using Ajax, if I wanted to preload several (20) small (<1K) images, behind the scenes... would I... 1 - Queue the loading of the images with Ajax one at a time, asynchronously, and ignore the completion results. Would this result in the image being in the browser''s cache even if
2006 Mar 01
0
Rails AJAX scaffold generator question: organization
Rails noobie here. I''ve gem''ed Richard White''s AJAX scaffold generator, and hooked it up to one of my tables, did some tweaking, and am very pleased with the ease of this first test. But my question is how I should incorporate this into my actual app. In my app, the table I want to use this AJAX on belongs_to another table. I have one main controller in the app,
2006 Apr 08
0
Re: Rails-spinoffs] Ajax.Updater asynchronous => false
I just ran into this very problem myself. Yes, this is a bug in prototype. If you look in the code you will see that the relevent handlers and callbacks simply aren''t called with a synchronous request (onComplete is similarly not called). I submitted a patch <http://dev.rubyonrails.org/ticket/4657> over at dev.rubyonrails.org which fixes this behavior. If you decide to check it
2006 Mar 28
0
Wanted: Ajax Ruby On Rails Developers
Ruby On Rails AJAX Developers Wanted Hey there, I''m looking for people who know and understand all aspects of AJAX including HTML, Javascript, CSS and DOM. Cross browser compatibility is important. You must also know Ruby On Rails. Required Skills * You fully understand all aspects of AJAX including Javascript, HTML, CSS and DOM and how they interact with each other. * You
2005 Dec 14
1
RE: Form.serialize and Ajax.Request ->fileserialization and encoding
I''ve not looked into how it''s done but adding an attachment in Gmail (UK version) uploads the file without refreshing the window, and http://www.yousendit.com <http://www.yousendit.com/> appears to send a file via some sort of RPC or AJAX. Maybe this could be another starting point for you. Paul Shannon Web Applications Developer Codeweavers Limited Tel: 0870 443
2005 Dec 13
2
Ajax.Request onComplete
Hello, I have a small class where i want to use attributes of the instance when an ajax call returns, so I wrote: *var* MyClass = Class.create(); MyClass.prototype = { initialize: *function*(form_id, rendered_id) { this.form_id = form_id; *var* edit_form = $(form_id); *var* rendered_node = $(rendered_id); *if* (!edit_form || !rendered_node) { this.enabled = *false*;
2007 Jun 24
0
Browser-level "Loading" Cursors for AJAX
I''ve only tested this in Firefox so far, but it seems handy. One more way to let people know that stuff is going on behind the scenes. var SomeAjax = new Ajax.Request("/some/address", { onCreate: function() { document.body.parentNode.style.cursor = "progress" }, onComplete: function() { document.body.parentNode.style.cursor = "default" } }) --
2008 Mar 13
4
AJAX slow - to_json responsible?
Hello. I am building full-ajax back-end, which consits of many quite big partials. As the system grows up, performance is problem. After every click, partial is refreshed, if needed. I am now at 0.5 sec / request. I tried to simply disable ajax and the result was quite suprising: the same page is rendered over 2x faster. I update 80% of page in case of ajax. (Please dont tell: dont use ajax when
2005 Dec 14
0
Form.serialize and Ajax.Request -> file serialization and encoding
Hello, I have related two questions: 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 ? 2/ some datas in the form are iso-8859-15 text, that get through utf8 encoding in javascript and therefore get a bit busted. I know how to correct
2014 Mar 01
0
Rails AJAX slow compared to Node.js and websockets complex to implement in rails ?
I have heard alot about Node.js and watched a few tutorials and read some stuff. I get the impression that in certain situations AJAX calls with node.js is alot faster than with rails. I also have somewhat of an impression that with Rails web sockets are complicated to implement but with node.js web sockets might be alot easier. I am trying to figure out if I should learn some node.js or
2006 Apr 07
0
Ajax.Updater asynchronous => false
I was just working on a project where I needed to use Ajax.Updater with a synchronous request. It appears like all one would need to do is set the asynchronous option to false. I tried this and noticed that the content was being requested synchronously but the content was never injected into the DOM tree like one would expect from Ajax.Updater. In order to get the content returned by
2006 Mar 27
0
Hiring AJAX/RUBY web designer/developer
AJAX Developer We are looking for someone who?s a wiz at writing AJAX code. You need to know and understand all aspects of AJAX including HTML, Javascript, CSS and DOM. You should understand the issues relating to creating cross browser applications. Required Skills * You fully understand all aspects of AJAX including Javascript, HTML, CSS and DOM. and how they interact with each
2005 Nov 28
0
AJAX and Rails, creating flyover forms?
Hi all, This page: http://www.manning.com/books/crane has a little hover-over that creates a new frame over the window. I want to incorporate something like this in my RoR page... can anybody provide some information on how to do this with Rails? Thanks, M
2006 Mar 27
0
Looking for Ruby/AJAX Developer/Designer
We are looking for someone who?s a wiz at writing AJAX code. You need to know and understand all aspects of AJAX including HTML, Javascript, CSS and DOM. You should understand the issues relating to creating cross browser applications. Required Skills * You fully understand all aspects of AJAX including Javascript, HTML, CSS and DOM. and how they interact with each other. * You
2006 May 12
0
draft-proposal for Ajax.History - History/Bookmark handling in Ajax apps
Hi list, In one of my previous projects I had to satisfy the requirement of handling browser back- and forward calls within an Ajax application. Thus I didn''t get an urge to switch the JS part of this project to an other framework like dojo (which supports Browser history handling out-of-the-box), I had to come up with an idea of doing this with prototype/scriptaculous. The arisen
2011 Jun 03
0
valums ajax file upload + paperclip in Rails 2.x Options
Hello all, I am trying to setup ajax file upload + ajax display in Rails 2.0.2 for project specific purposes. I am using valums ajax file upload plugin(https://github.com/valums/file-uploader). Using this plugin, I have been able to upload these files working in my javascript and I am able to pass them as params. I have found a blog in which they have shown how to combine this plugin with
2010 Oct 02
0
Ajax observe_field not vorking on Rails
down vote favorite I am trying to create some kind of search in my ruby on rails application and I want to add ajax support. I want when a user types in a search box a word, ajax automatically generates the results. And I have searched almost all internet and I couldn''t find answer to following question: When I type into my text area nothing happens. It is like ajax is not working at
2006 Jan 04
6
ajax in rails is a security violation
Does anybody have any issues with the AJAX code inside rails? Whenever i use any sites i have built, or even external sites (such as basecamphq) my internal security device blocks access to the Ajax piece with a 400 Bad Request ( i scoured the net for other ajax examples and no isses anywhere else). I think there is something in the AJAX code of rails that is not implemented correctly. Has
2009 May 18
1
Rails + AJAX + mootools
hi there, I am trying to use rails with mootools, everything just worked great. I have a little problem with the ajax thing, because every time i send a form with ajax an error occur that said something like "authentication token error". I have read that i need to include inside the form a hidden with the authentication token, this approach fix the problem and everything worked, but i
2005 Nov 29
0
Ajax and Rails to manage long running server process (and file download)?
Hi, I have a Rails application running where clients can initiate through their browsers fairly long-running server processes. At the end of the long-running server process the results are downloaded as a separate file. Currently I''m handling this via "refresh" HTTP headers in the various pages and a Rails send_file() call when the process is complete. I''d like to