similar to: Can you make an HTTP request inside an Ajax action?

Displaying 20 results from an estimated 9000 matches similar to: "Can you make an HTTP request inside an Ajax action?"

2007 Jan 21
1
Strange Ajax Error Since Upgrade
Hi All I''m getting the following very strange Ajax error and I''ve searched Google, this group and various other places to no avail. So I''m desperately hoping someone here can help. Whenever I try to execute any Ajax call whether as a form request or a link_to_remote link I get the following error: ------------------- FORM REQUEST ------------------- [2007-01-21
2007 Apr 28
0
WEBrick::HTTPStatus::LengthRequired Error
[2007-04-27 23:47:14] ERROR HTTPRequest#fixup: WEBrick::HTTPStatus::LengthRequired occured. Anyone have any idea what is going on here? --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
2006 Jun 27
1
Errno::EINVAL: Invalid arguments - IE crash
Hi, When I run my app on IE, it crashes everytime. However, when running on Firefox, it is perfectly fine. I saw the following error on the my server. [2005-11-15 10:45:20] ERROR Errno::EINVAL: Invalid argument c:/ruby/lib/ruby/1.8/webrick/httprequest.rb:325:in `gets'' c:/ruby/lib/ruby/1.8/webrick/httprequest.rb:325:in `__send__''
2006 Mar 20
1
RJS & IE Woes
Hi, I''m trying to do a very simple slide_down effect with RJS templates. Basically a user selects a check box and a text box slides down. This works great in firefox, but causes IE to crash. The text box appears and slides down. Then the browser crashes. the in the partial is <div id=''forklift_div''> <label for=''incident_forklift''>Was
2006 Feb 16
1
file_column problem
I cannot get the file_column plugin to work. Probably something stupid I am doing wrong as I am pretty much a newbie... 1. I added a varchar column to my table called "image" 2. This is my class: class User < ActiveRecord::Base file_column :image, :magick => { :geometry => "80x80>" } attr_accessor :new_password ... rest of class 3. In my controller I
2006 Jul 20
0
Routing error
Hi! I''ve appended this to the standard config/routing.rb: map.connect '':id/:action'', :controller => ''cms/publish'' and it works but gives an error with every single HTTPrequest, even the ones matching the standard (and higher priority) routes. As an alternative I tried implementing it using map.connect ''*path'', :controller
2006 Feb 20
0
vpimd, a personal information server
This isn''t even close to ready for release, but in case anybody is interested, has feedback, finds it useful as is, or even wants to collaborate... I''ve been working on a "personal information server", something of a protocol multiplexer. Right now it serves calendar feeds for: - a local calendar folder (iCal 1.x''s Library/Calendars) - rss for local todos
2006 Mar 10
0
WEBrick crashing
ruby 1.8.2 (2004-12-25) [i386-mswin32] latest version of edge rails - patched to make the server work with win32 (http://dev.rubyonrails.org/ticket/4139) On some pages WEBrick is crashing with the following: d:/programming/ruby/lib/ruby/1.8/profiler.rb:27: You have a nil object when you didn''t expect it! (NoMethodError) You might have expected an instance of Array. The error occured
2010 Jun 15
2
ThreadError: stopping only thread
Running Rails 2.3.5 I am new to Ruby and Rails. From the console I get the following ThreadError below. Any suggestions are very welcome. >> app.get "/slides" => 200 >> app.request.path_parameters => {"action"=>"index", "controller"=>"slides"} >> app.get "/slides/1" ThreadError: stopping only thread
2006 Aug 25
1
#<ActiveRecord::StatementInvalid: ThreadError: killed thread
Wht exactly does this mean? #<ActiveRecord::StatementInvalid: ThreadError: killed thread: That a thread was killed in the middle of a query? Thanks for your help. -- 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
2007 Jun 28
1
ThreadError from DRb server
Hi there, I''ve just started using aaf for searching and it''s running well apart from one error I received: A ThreadError occurred in person#search: current thread not owner (druby:/localhost:9010) /usr/lib/ruby/1.8/monitor.rb:274:in `mon_check_owner'' (druby:/localhost:9010) /usr/lib/ruby/1.8/monitor.rb:274:in `mon_check_owner''
2019 Nov 18
2
How to set http.conf for HTTPS support on Debian Buster ?
Hello, I've installed a new Asterisk 17.0.0 on a Debian Buster system. This Asterisk instance is run by asterisk user (and group). I've got: # ls -l /etc/asterisk total 68 -rw-r--r-- 1 asterisk asterisk 501 nov. 18 19:12 asterisk.conf -rw-r--r-- 1 asterisk asterisk 135 nov. 18 18:57 cdr.conf -rw-r--r-- 1 asterisk asterisk 684 nov. 18 18:57 cdr_custom.conf -rw-r--r-- 1 asterisk
2006 Jul 09
6
ajax effects
Hi, i was wondering if there was some kind of general line of code i could add to my application, anywhere i suppose, that would generate some kind of effect to notify the user that an effect is happening...it could be a box on the top of the screen or something, that would be like the small bar at the end of the browser that shows the user the status of a loading page ... i was hoping
2010 May 09
2
console ThreadError ("thread ... tried to join itself")
I''m just getting started with Rails 2 and I''ve immediately hit a problem in the console. This must be well known so perhaps someone could just tell me the solution. mattleopard$ script/console Loading development environment (Rails 2.3.5) >> app.get "photos" => 200 >> app.get "photos" ThreadError: thread 0x1003c7368 tried to join itself from
2006 Sep 04
2
The real reason why Sync and Mutex behave differently
As I''ve mentioned before, Sync and Mutex are very similar, and Mutex is very simple. Their locking algorithm (for exclusive locking) is essentially identical. And in some detailed examinations of Mutex''s behavior, there''s nothing superficially wrong with it. It''s pure ruby, so there are no funny memory allocations at the C level, and it essentially operates
2006 Nov 04
0
page caching urls with space characters broken in webrick and mongrel
Page caching of urls with spaces in them using WEBrick and Mongrel is broken in Edge Rails (and Rails 1.1.6, where I started). This is due to the dispatch flow of control in both servers converting ''+'' in requested paths into '' '' chars, whereas the page caching system writes cache files for URLs with spaces in them out as encoded ''+''
2006 Mar 07
0
production.log says status 200, browser says 500?
I have a long running operation (more than a minute) that is running in a request. The operation completes according to the log and the log says that it returns http status 200. Sometimes an error message is written after the 200 log message (included at the end of this message). But the browser get a status 500 from the Apache server. We''re using Apache with SCGI on Windows doing
2007 Dec 07
1
Are these events normal?
We have dropped dovecot in place of UW-IMAP for about 40000 users and have solved our immediate problem: disk I/O overload, mainly from people doing POP3 and "leave mail on server". Thank you! Now i got loads of dovecot error messages in the logs and don't know if there is any significance. Here are a few examples: The most common event is: 2007-12-06 16:00:17.837654500 dovecot:
2006 Feb 28
4
No action from AJAX link_to_remote...
AJAX & Ruby & Rails newbie here. I''ve got a link to remote that I believe should be working, but doesn''t seem in fact to do *anything*. I''m looking at the webrick log, since the Book says I should be seeing some hot POST action in there, but there''s literally no change when I click on the JS link. From looking at the source that''s
2001 Nov 20
2
rsync server over SSH [includes code patches]
Hi Folks -- I've recently had the need to add a piece of functionality to rsync that allows one to run 'rsync --daemon' (rsync in "rsync server" mode) over SSH. My main goal was to be able to use some of the features from rsyncd.conf(5) (notably modules) while still using SSH for authentication and network transport. Background: I wanted to have the capability of setting