similar to: link_to_remote

Displaying 20 results from an estimated 400 matches similar to: "link_to_remote"

2006 Oct 26
2
Mocha and SimplyHelpful
Hi, I''m getting a conflict between the Mocha plugin and the Rails SimplyHelpful plugin. For some reason the dom_id method from SimplyHelpful is not being found in my views when the Mocha plugin is installed. The dom_id method if used in the controller works properly. This is the error I get when running the tests: 1) Error: test_truth(HmmControllerTest):
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/.
2008 Jan 03
0
remote_form_for with auto_complete_field
Hi friends I have problem with auto_complete_field. I have used auto_complete_field with in the remote_form_for. But when we enter the text in auto_complete_field two actions are calling 1. auto_complete_field action 2. remote_form_for action I need to restrict the form action when we enter text on auto_complete_field Could u give any ideas? <div
2009 Dec 13
0
r65 committed - Use the GeoCommons addOverlay method
Revision: 65 Author: ajturner Date: Sun Dec 13 11:10:04 2009 Log: Use the GeoCommons addOverlay method http://code.google.com/p/mapstraction/source/detail?r=65 Modified: /trunk/source/mxn.geocommons.core.js /trunk/tests/index.htm ======================================= --- /trunk/source/mxn.geocommons.core.js Sun Dec 13 11:10:00 2009 +++ /trunk/source/mxn.geocommons.core.js Sun Dec 13
2006 Feb 14
1
in a domU, 6 network interfaces wanted, only 3 seen
Hello, I need 6 virtual interfaces in a domU (which will be our firewall). I''ve created 6 bridges in dom0, configured everything correctly... When I start the domU, it can only see 3 of them : eth0, eth1, eth2. However, the bridges in dom0 are correctly configured, and I can see all 6 vifs (from vif<DOM_ID>.0 to vif<DOM_ID>.5) when using "brctl show". On the
2008 Feb 13
6
trouble updating partial from collection
I have a view where I render a partial over a collection. Each instance of the partial includes a <div> with an id specific to that instance. Inside the partial, there is a select tag for "year". I''m trying to change some of the contents of the partial when user changes the year. I''m using this in the view: <%= select_tag :year,
2006 Jun 01
7
Active Record Basics - Making it commentable
hi everyone, I hope someone can help me out with some active record basics? I''ve been banging my head for the past 4 hours and I can''t seem to get it to work. I am trying to add comments to a caption (just like how one adds a comment to a post in a blog). I seem to be able to read posts just fine from the DB, however, I can''t use the "recordComment"
2011 Mar 02
0
polymorphic_path not getting generated
Folks, I am trying to use the Savage Beast plugin in a polymorphic way. I have setup my model as below # Leaving out other details from models class Forum < ActiveRecord::Base has_one :recent_topic, :class_name => ''Topic'', :order => ''sticky desc, replied_at desc'' belongs_to :forum_owner, :polymorphic => true # Helps keep track of which
2007 Jul 16
0
Ajax works in FF but not safari!
The following code works perfectly in FF, but does not work in safari. I''m on Edge Rails with the latest javascripts. Any clue what''s going on? CONTROLLER: def create @program = @school.programs.new(params[:program]) if @program.save render :update do |page| page[:program_list].replace_html(:partial => ''program'', :collection =>
2008 Feb 20
0
#dom_id should use AR#to_param instead of AR#id
Hi, I have just commited a patch for ActionController''s #dom_id, it should iternally use AR#to_param instead of AR#id, because #to_param is used for routing representation of an ActiveRecord inside ActionPack. You can found the ticket here: http://dev.rubyonrails.org/ticket/11179. Luca. -- blog: www.lucaguidi.com --~--~---------~--~----~------------~-------~--~----~ You received
2006 Dec 25
1
Urgent - Setup DoveCot with Plesk
Hey, all, I am trying to setup DoveCot with Plesk. But I could not go through the last step. Setup: MySQL 5.0.22 Qmail Plesk 7.5 DoveCot v1.0 RC15 The problem: I setup sql.conf for user query and password query. I tried different ways, DoveCot always says "Authentication failed". Here are my two SQLs. user_query = SELECT concat('/var/qmail/mailnames/', d.name, '/',
2009 Jan 09
1
Is there a problem with webrat?
webrat (0.3.4) I have this in the view: <div id="list_entity_1"> <tr> <td>Just An Entity</td> <td>000001</td> <td id="show_entity_1"><a href="/entities/1">Show Entity</a></td> <td id="edit_entity_1"><a href="/entities/1/edit">Edit Entity</a></td>
2010 Oct 19
0
Ajax & Table Display Filtering based on Selected Option
My scenario: On a department''s products page (index.js.rjs), there is a table showing the products with their id, name, category. The view of this table is specified by a partial file called _index.html.erb. I''m going to add in a selection/option drop down menu above the table to show all the product categories. When the user selects a category from the drop down menu, Ajax
2007 Oct 23
2
to_json inconsistency?
Hello, ActiveSupport::JSON::Variable.to_json is the only to_json without an "options" parameter. Is this intended? For example, this code in a .rjs page[@user.dom_id].visual_effect :drop_out, :afterFinish => ActiveSupport::JSON::Variable.new("foo") fails with ActionView::TemplateError: wrong number of arguments (1 for 0) On line #7 of
2006 Jun 03
6
Calculating row COUNTs
hi everyone, I''m trying to do a simple calculation in my rails project. I would like to find all rows in a table that match the given id of another table (ie. comment_id) and has the value = 1 ("value" is a field in the table), then add those values up. Next find the same rows with the value = -1 and add those values up also. Finally, I would like to find the total.
2009 Nov 18
4
rails newbie : routing error
After much ado about the naming of model adn controllers... model : Expense controller : Expenses route : map.resources :expenses Here I am using mysql database and created a unique index, since db:migrated created an id object and made it as primary key. Now in the def create @expense = Expense.new(params[:expense]) if @expense.save flash[:viola] = ''New expense saved.. be
2007 May 14
1
Updating to Qemu 0.90 breaks save/restore
Save/restore is ok against staging tree''s changeset 15020: d2ef85c6bf84, but is NOT ok against changeset 15021: 00618037d37d (Update to qemu 0.90). I use IA32pae HV; both SMP Windows 2K3 and FC5 can''t be saved properly. After "xm save dom_id 1.save" returns, Qemu window disappears, but "xm vcpu-list" still shows the domain has not been killed. If I
2019 Jul 14
0
Trying to understand "redirect-gateway" option
Trying to understand "redirect-gateway" option Is this url info correct for the current Tinc 1.0.35 version? .../tinc-vpn.org/examples/redirect-gateway What is the script? /etc/tinc/myvpn/hosts/server-up Is it really a extra bit to be added to,/etc/tinc/myvpn/tinc-up If I read and apply the instructions to my routed setup, then all I need to add isip route add 0.0.0.0/1 dev $INTERFACE
2009 Aug 07
2
Anyone had any luck with SIP clients on theiPhoneplatform?
That sounds like the ideal app for me too. Fring requires we register with Fring and give them user id/password pair. In our case it did not work until we put a public IP on our Asterisk. I just bought WeePhone and I'll give it a try on the iPhone. Cheers, Enrique -----Mensaje original----- De: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] En
2006 Jul 04
1
Quick question: Iterate through a collection - no duplicates
Hi, is there a simple way to iterate through collection and not include duplicates? Thanks in advance. Jordan -- Posted via http://www.ruby-forum.com/.