similar to: ActiveRecord/ActionController in javascript code

Displaying 20 results from an estimated 10000 matches similar to: "ActiveRecord/ActionController in javascript code"

2006 Jul 18
5
Right-click popup menu?
Hi, I have a partial frame on the side of a page which shows the current users logged in (as text). Now, I would like to be able to right-click on each user''s name, and get a menu containing links such as "View Profile", "Send Message", etc. These links could open in a new window. Is this possible? Any help would be greatly appreciated. Thanks, Aditya Rajgarhia
2006 Aug 11
1
Store Javascript variable''s value into Rails variable
Hi, I have a javascript function that returns a value. Is it possible to store this value into a rails variable? If you really want to know the reason why I need to do such a thing, look at http://www.ruby-forum.com/topic/76733. If it''s possible to store the javascript value into the rails variablem then the problem is solved. Thanks! -- Posted via http://www.ruby-forum.com/.
2006 Aug 10
7
Radio Button events
Hi, I have observers for a group of radio buttons, an observe_field for each radio button (I think its not possible to have one observe_field for a group of radio buttons). Now, the problem is that when I click on one radio button, all the observers get trigerred, so the method which the observe_field calls gets the wrong result. I just want that method to get the radio button that is
2006 Aug 18
4
Button on view
Hi, I have a page containing 3 views (2 are partials). One of the partials needs to have a button that will clear a table called "messages" in the database. I can put a button like this "<%= button_to "Clear Messages", :action => ''clear_messages'' %>" and have the controller do "Message.delete_all". But the problem is that the
2006 Mar 28
2
Newbie question - ActionController::RoutingError
When i run my server and just chk in browser i get --------------------------------------------------- ActionController::RoutingError (Recognition failed for "/rails_info/properties"): /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/routing.rb:488:in `recognition_failed''
2006 Aug 04
2
observe_field for radio_button
Hi, I need to observe a set of radio buttons but am having great trouble. My observe_field looks like this: <%= observe_field :user_select, :frequency => 0, :url => { :action => :admin_control } %> Now it works fine if I use a text_field like this: <%= text_field :user, :select, "size" => 20, "maxlength" => 16 %> But I want a radio button, and
2006 Jun 02
3
Chat Room development
Hi, I was wondering if it is possible to create a chat room using Ruby/Rails (similar to the Java ones used by Talkcity, Yahoo, etc). Not many people will be using it since it''s just for an educational experiment. If possible, will it be able to insert the text immediately? I mean, I don''t know of any techniques besides Java applets that can do that, which is why I ask
2019 Apr 23
2
Odd behavior since upgrading to 4.9.6
About a week and half ago I upgraded from 4.0.12 to 4.9.6. Overall, things are functioning. However, I have come across several strange behaviors and wandered if anyone else has noticed similar behavior on 4.9.6 or has any suggestions of what might be occurring. As background information, I have 3 DCs (dc3, dc4 and dc5) -- all running the same version (4.9.6) and all have the same configuration;
2006 Jul 25
2
Page doesn''t have scroll bar :/
I have a page with a form that is longer than the page view. Yet there is no scroll bar. How can I get one? Thanks, Aditya -- Posted via http://www.ruby-forum.com/.
2005 Jul 18
13
in place text edit
I''ve written a pretty nice Flickr style in place text edit JavaScript control based on the Script.aculo.us library. API is like this: <span id="editme">Edit me!</span> <script> new InPlaceEditor($(''editme''), ''url/to/action''); </script> Background changes to gray as mouse hovers over the text (like flickr) and the
2020 Apr 22
4
Troubleshooting load issues
Hi, I have an Asterisk box which has an IVR that plays random gsm files. The box has SSD's and two CPU E5-2695 v2 cpus with 64GB ram. The Asterisk CPU usage along with the load seems to jump around. With about 500 callers it hovers between 250-400% CPU (so 2.5 to 4 cores) which seems reasonable. Every so often the load average spikes. The idle never drops below 85%. When the load average
2015 May 30
3
[LLVMdev] Error in building Gold on FreeBSD
Hi I followed the steps on http://llvm.org/docs/GoldPlugin.html#lto-how-to-build to build the gold plugin on FreeBSD but ! Heres a link to the screenshot of the error: http://postimg.org/image/anlpuufbl/ This is the error message that it shows and so I am also unable to get ld-new. I checked and no CFLAGS were set in etc/make.conf. How to proceed with the installation? I am using the deault
2010 Oct 07
5
ActionController::RoutingError (No route matches "")
ActionController::RoutingError (No route matches "/atweet"): Unsure on why routing to my view isn''t working. controller appears to be functioning, however the view isn''t work, when I attempt to go to it, this happens... sniff... sniff.... help??? I don''t get routes.rb in rails... -- Posted via http://www.ruby-forum.com/. -- You received this message
2006 Jul 15
2
Render -> ActionController -> Render -> ...
Hi Guys, ActiveRecord is great for being able to drill down through many tables. I often locate the very "top" record, and have a render :action => "show" display that top record. Often I want to drill down like: @kingdom.phylums.classes.orders.each do |order| render :partial => "order/show" end But, depending on the user who is logged in, they see a
2010 Feb 22
10
Error: "ActionController::InvalidAuthenticityToken"
Hi there, I have my first Rails app running and I regularly get the following "logged_exception" error message: "ActionController::InvalidAuthenticityToken" Has anybody an idea what might cause this problem? Could it somehow be a "time out" error (like an "AuthenticityToken" which might expire after a certain time, or something along those lines)? Any
2006 Jan 15
13
Hotlinking an entire row in an HTML table
Hi, This seems simple but I cant get it to work... I have a table with 4 or 5 columns and 20-30 rows. I''d like to have the ability to click anywhere in a particular row to fire an action, such as bringing up a "Details" page for the clicked row. This would eliminate the need to generate a "Details" link at the end of every row, which is what I have now and looks
2006 Mar 22
3
Which JavaScript effect is this?
http://canadaonrails.com/ (when you hover over news and events) I''ve seen this implemented on a few rails sites now and I was just wondering if it is just a simple javascript from the prototype library. Does anybody know of any links on how to do this? Thanks in advance! -- Posted via http://www.ruby-forum.com/.
2015 May 30
0
[LLVMdev] Error in building Gold on FreeBSD
Dear Aditya, Regarding the error, it looks like binutils is trying to build its documentation. For your project, this is a step that you can skip. You can try using "make -k" to skip over errors and proceed to the "make install" step. That might work. As an aside, you should include the error as a plain text attachment instead of taking a graphic screenshot. The error
2002 Aug 20
1
managed mode / max bitrate doesn't have effect
Hi, I'm experimenting with managed mode encoding with specifying maximum bitrate. I call: vorbis_encode_init( &vorbisInfo, 2, 44100, -1, 96000, 96000); to initialize the encoding. To my surprise, it seems the maxbitrate value of 96000 doesn't have an effect, the bitrate of the
2014 Jul 04
2
[Bug 80900] New: [NVCF] PWM fan speed too high under kernel 3.15
https://bugs.freedesktop.org/show_bug.cgi?id=80900 Priority: medium Bug ID: 80900 Assignee: nouveau at lists.freedesktop.org Summary: [NVCF] PWM fan speed too high under kernel 3.15 Severity: normal Classification: Unclassified OS: Linux (All) Reporter: gianni at rootcube.net Hardware: x86-64 (AMD64)