similar to: selecting params value to use with $.ajax()

Displaying 20 results from an estimated 500 matches similar to: "selecting params value to use with $.ajax()"

2011 Dec 17
39
Stack Level Too Deep Error (can't seem to figure it out)
Hi all, I am running into a weird issue where my application is giving me a stack level too deep error. I can''t seem to find where my code is throwing this error. On the machine I developed this code on, this error does not show up when I run rails s but when I move the code to another system to run it this error shows up. The system that this code runs fine on is a mac os x machine
2011 Dec 14
30
How can I get RVM/Passenger/Apache2 to play nicely together
Hello all, Can anyone point me to any solid documentation on how to set up a production server using RVM, Passenger, and Apache2? I have been at this for a week with absolutely no luck at all so I thought I would post here to see if anyone has managed to get this to work and written down the steps they used. Right now with my current implementation, I am getting a 404 error when I attempt to
2012 Mar 26
3
render :json not sending any data back ...
[rails 3.2.2] I perform an ajax call : ... $.ajax url: " /backoffice/expenses/rate" type: "GET" dataType: "json" data: project_id: $(''#project_id'').val() code: $(this).val() success: (result) -> alert result $(''#expense_price'').val(result) in
2011 Oct 26
6
Add an index to a form
Hello, I''m having some trouble with forms, my app allows to enter data by using a multi-step form that has 7 steps. There are 3 steps that may let the user to add 1 form, for example there''s a step called "children" and that children has the following fields: * name * age * gender but one father may have more than 1 child and I''m adding another form with
2012 Mar 17
7
Error installing json.........
hi I have installed ruby 1.9.3p125 (2012-02-16) [i386-mingw32] rails 3.2.2 windows 7 I have tried to create a rails project by using the command from command line rails new firstapp the following is the output... Using tilt (1.3.3) Using sprockets (2.1.2) Using actionpack (3.2.2) Using mime-types (1.17.2) Using polyglot (0.3.3) Using treetop (1.4.10) Using mail (2.4.4) Using actionmailer
2012 Sep 10
4
Rails error: invalid byte sequence in UTF-8
Hello, i have a app on rails 3.2.1 and i use a jquery lib called jQuery Timelinr 0.9.5: http://www.csslab.cl/2011/08/18/jquery-timelinr/ but, when i use it on a .erb view, i got a error: Showing * /home/carlos.ribeiro/projetos/amarribo/app/views/conheca/historico.html.erb* where line *#59* raised: invalid byte sequence in UTF-8 Extracted source (around line *#59*): 57: 58: <%=
2012 Oct 09
8
unexpected should_receive behaviour
Hi, surely I''m missing something... but what!? in my spec I''ve User.should_receive(:find).with("1").and_return(@user) and in my controller User.find(params[:id]) green light... correct... but if I change my controller using another method, for example first: User.first or even User.all I get green light too... I was expecting an error like expected: 1 time
2008 Mar 28
2
VNC for Dom U
Hi, Could any one please tell me a proper way to access my DomU using VNC. I saw a thread related to this topic, but that did not seem to have the right thing. I am using Xen 3.2 (compiled from source) on top of FC8-64bit. I am using a jailtime.org file system image for FC 64 bit as my Dom U. Thanks DM
2011 Oct 21
7
Error while install mysql2 in windows 7
hello i have problem while install gem mysql2 in windows 7 i have got error An error occurred while installing mysql (0.3.7), and Bundler cannot continue. Make sure that ''gem install mysql2 -v ''0.3.7'''' succeeds before bundling. Please help me i want to codding with rails :) -- Posted via http://www.ruby-forum.com/. -- You received this message because
2009 Apr 30
1
Partitioning Specs
On Thu, Apr 30, 2009 at 9:33 AM, Nicholas Van Weerdenburg <vanweerd at gmail.com> wrote: > I saw that a couple of days ago- very nice. Will that be added to RSpec? Sooner or later, yes, but it will be managed through the hash passed to the declarations: describe "something", :tags => [:a,:b] do it "does something", :tags > [:c] do etc You can already access
2012 Aug 16
6
undefined method `with_indifferent_access' for "":String
Hi I''m having a issue with one object when try to update the attributes in this object previously saved in the database I have one object comp and one object reg they have this relationship comp has_many regs reg belongs_to comp when run use the method valid? like this current_contribuyente.comps.build(params[:comp]).valid? it returns: IndexError (string not matched) And when
2009 Jul 22
5
network problems
So, I have been running into network problems for a while on 4 boxes that I installed xen on so that some engineers have places to test code. This particular problem is happening on all 4 of these boxes. (although, it isn''t happening on an older box running xen from debian etch). What appears to be the problem is that traffic is getting dropped between the vif#.0 interface in dom0
2006 Apr 04
3
Forms, view & AJAX best practice help
What i''m trying to get working is I have a controller called "permissions" and a view "permissions.rhtml". This view has a hidden div that contains a form for adding new roles. Its just a single textfield. Also on the page I have a dropdown list of roles and then underneath that a div that contains a list of permissions for the role selected in the dropdown. I
2009 Feb 22
3
Motherboard capable of VT-d
Hi! I''ve got a motherboard (Gigabyte GA-G33-DS3R) where the Ethernet port has been broken. I''ll buy a new motherboard, but wants to keep all my other equipment (CPU, Memory, TV-cards etc). The requirements/wishes on the new motherboard are 2 Ethernet ports and 2 PCI slots. It would also be good if it would support VT-d. I''ve found two boards that would fulfill my
2011 Nov 20
9
scanning word document in ruby
I am new to the ROR and just got stucked into something.... ....that is i have to scan a word document through ruby... Please suggest me how to do...... -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this
2012 Mar 20
9
Rails 3 generate pdf
Dear All, i am developing an application with rails 3, and now i need to generate a pdf file,i search a lot, and try a lot ,such as prawn ,PDFkit and so on, it seems that prawn is no response in rails3, and when i use PDFKit, it asked me to install wkhtmltopdf first, i try to install this,but failed, anyone can help me ? Thanks very much. Daisy -- Posted via http://www.ruby-forum.com/. --
2010 Mar 11
1
drbd-kmdl packages question
Dear collegues! I've got one question about drbd-kmdl packages. As I can see at $ rpm -qp --qf "%{DESCRIPTION}" kmod-drbd-8.0.16-5.el5_3.i686.rpm This package provides the drbd kernel modules built for the Linux kernel 2.6.18-128.4.1.el5 for the i686 family of processors. So, the question is - kmod-drbd is for kernel 128.4.1 (or build for this kernel version), but current kernel is
2004 Aug 06
1
WinXP , Icecast2 OddCast
Re-Hi , I'm also trying to write a tutorial to teach to use Icecast2 with AddCast + Winamp3 as source . Unfortunately it doesnot worrk very vell: When i dont play any file with WinAmp , and a connect WA+OddCast to icecast , it works, but as soon as i play a file it breaks the connection with thte message : connection reset by the server . So .... What is the way to make it work ? is there
2005 Jul 12
2
sharing a decoder between 2 inbound speex streams?
You definitely need to have separate decoders for separate streams. It has been mentioned before that inter-frame state is critical to achieving the level of quality for bandwidth that Speex offers. This differentiates it from iLBC, a codec whose claim to fame is that it treats each frame independently. I'm not sure what's hard about maintaining multiple decoder states, unless you are
2006 Jul 21
1
rjs template modifying form_remote_tag
I would like to build a form which uses ajax on the first request, but on a subsequent request uses the regular form_tag. The reason for doing this is that I need a file upload in the second request, and so I can''t use AJAX. I''ve tried using an rjs template to modify the form_remote_tag''s id (using page.replace ''form_tag_id'', ...), but the request