similar to: Using two select elements (master - slave)

Displaying 20 results from an estimated 6000 matches similar to: "Using two select elements (master - slave)"

2006 Feb 14
1
Firefox java script error in prototype.js
Hi, I am usign two selects, a master and a slave: <%= select("master", "id", @master) %> <div id="slave_id_list"> <%= select("slave", "id", @slave) %> </div> <%= observe_field("master[id]", :frequency => 0.25, :update => "slave_id_list", :url => {:action => :update_slave_select},
2006 Feb 10
4
hiding header/footer on html print?
Hello all, I am using what might be a "poor mans" reporting... html -> print. Who knows a way to hide the browser-included header and footer of the print? thanks. -- ------------------------------ Forget the icing. Bake the Cake! - the epi-centered developer ------------------------------ Peter Fitzgibbons -------------- next part -------------- An HTML attachment was
2006 Jan 16
3
37s style modularization ?
Hello all, I remember and have lost a link to the blog on hints about 37s modularization of basecamp, backpack, etc. Anyone remeber this and can remind me of the link? Thanks ! -- ------------------------------ Forget the icing. Bake the cake! - the epicentered developer ------------------------------ Peter Fitzgibbons -------------- next part -------------- An HTML attachment was
2006 Mar 20
6
Rails and Offline processing
How are you guys handling threads or server processes that have to, for example, process the data in your application on a periodic basis? Cron jobs can do it and then run on the database. But, are there ways to launch threads within the rails application itself. I have heard of WebBrick ways, but I am working with lighttpd, fastcgi? (textdrive if you are really interested).
2006 Jul 14
6
Get a collection through ActiveRecord for using with option_groups_from_collection_for_select
Hello, I am having some difficulties with ActiveRecord. What I want to do is to get a collection of SubjectGroups for using with option_groups_from_collection_for_select My Code: ======================================== class Subject < ActiveRecord::Base has_and_belongs_to_many :users belongs_to :subject_group end class SubjectGroup < ActiveRecord::Base has_many :subjects end
2006 Jan 13
2
JOIN
Hi! For the following example I want to retrieve the last 10 LastEntries for experis_date >= now. class User < ActiveRecord::Base has_one :last_entries def self.last_entry_items find(:all, # :include => "last_entries", # :conditions => "last_entries.expires_date >= now()", :order => "id desc", :limit => 10) end end class
2006 Mar 21
1
Mongrel + Lighty + Multiple Rails Apps : How to Route ?
Hello all, I''m using Lighty-Win32 and Mongrel. I have one rails app working against http://hostname/. I want to know how to route lighty and my app to http://hostname/appname1. I have multiple apps that I would eventually want to route with http://hostname/appname2, http://hostname/appname3, etc. I am not trying to "productize", these are separate distinct apps that
2006 Feb 02
1
What''s the javascript to submit an AJAX Form?
HI Everyone, How do I form the href on an anchor so I can create a link-style submit for an ajax form? In this snippet, the INPUT generated by #submit_tag works OK, but the anchor results in the AJAX replacing the whole page? Can I make the anchor/href submit the AJAX form as well? Thank you! I have this (list.rhtml): <%= form_remote_tag :url =>
2006 Mar 20
1
Mongrel + Apache = Parallel processing ?
Hello All, If I use Apache/mod_proxy with mongrel, will that give me multiple processes? I have a long-running request that blocks all other requests on a single mongrel service instance. Ideas? Thank you all! -- ------------------------------ Forget the icing. Bake the Cake! - the epi-centered developer ------------------------------ Peter Fitzgibbons -------------- next part
2004 May 03
1
(fwd from psdasilva@esoterica.pt) rsync: Request for a feature
----- Forwarded message from Paulo da Silva <psdasilva@esoterica.pt> ----- From: Paulo da Silva <psdasilva@esoterica.pt> Subject: rsync: Request for a feature Date: Sun, 02 May 2004 17:09:11 +0100 To: mbp@samba.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040317 X-Spam-Status: No, hits=-0.9 required=3.2 tests=BAYES_10 autolearn=ham version=2.63 Hi. 1st.
2006 Mar 07
2
Sql Server 2000 booleans not working
I am migrating to sql server 2000 from postgres and I have tried char(1), int, tinyint and bit datatypes to replace booleans, but without luck. the 1''s and 0''s are stored properly in the db, but checkboxes and dropdowns are not being auto-populated in rails. Anyone experience this before? thanx -- View this message in context:
2006 Sep 05
0
can't use rake deploy with Capistrano
Hello, When I do rake deploy I have an error. As you can see, capistrano tryes to ln a dir that already removed (and I think that the directory is never created by capistrano). Before this command I made rake remote:exec ACTION="setup" that executed the following command: mkdir -p -m 775 /home/explicadores/apps/tutor/releases /home/ explicadores/apps/tutor/shared/system
2006 Sep 01
2
Mrelation does not exists
Hello! I''m having the following error: RuntimeError: ERROR C42P01 Mrelation "subjects_users_id_seq" does not exist Fnamespace.c L200 RRangeVarGetRelid: SELECT currval (''subjects_users_id_seq'') when I try to do: subject= SubjectsUser.new(params[:subjects_user]) subject.save The models: class User < ActiveRecord::Base has_one :last_entrie has_one
2006 Mar 05
2
AJAX call chain and DRY questions
Hey I have a page with a drop list. When the user selects an option in the drop I call an action in the controller with ajax. Now, in the controller, I gather some data from the db, but how do I present these data in a nice way? I really need to make use of the html helpers, but these clearly are not available in the controller. How do I output the array that I have gathered? My view page
2006 Mar 28
8
Problem connecting with an SQL Server 2000 database
Hi, I?m working on a rails application that uses data from an existing ms sqlserver 2000 database. Unfortunately I can?t get the connection to work properly. I used http://wiki.rubyonrails.com/rails/pages/HowtoConnectToMicrosoftSQLServer to make the connection. - Inserted the ado.rb - Changed my database.yml to development: adapter: sqlserver database: database_name host:
2006 Mar 28
6
Deploying rails...
Hi, I thought I''d give lighttpd and FastCGI a go but the latest version I''ve found for fastcgi is 2.4.0 which was released in January 2003. Is this the right version? Can anyone recommend the versions I should use for FastCGI et al and where to find them? I''m not sure I''ve really found what I''m looking for... -- Posted via
2005 Oct 31
2
Cascading Comboboxen and GO button ?
Hello all, I have two comboboxen, comboA is popultaed when :controller/list is retrieved first time. When comboA is selected, I want to auto-populate comboB (modelB belongs_to modelA). The population of tableC (modelC belongs_to modelB and belongs_to modelA) should not populate until a "GO" button is clicked (link_to with submit). Help? I need an example of how to filter the post
2005 Nov 21
10
Anybody using SCGI in production?
Or does anybody prefer fastcgi/fcgi? I''m using webrick for development, but plan on using scgi when I switch to production (because it appears to be an update to fastcgi, and I couldn''t get fastcgi working anyhow). thanks csn __________________________________ Yahoo! Mail - PC Magazine Editors'' Choice 2005 http://mail.yahoo.com
2006 May 18
5
[OT] Best Blog + Wiki opinions?
Hello all, I''m looking for suggestions for integrated Blog + Wiki (Bliki) apps. I''d prefer Rails, I want to hear opinions on all options! I''ve browsed through W:Bliki <http://en.wikipedia.org/wiki/Bliki>. Nothing in that list is immediately compelling. This is for my wife, who is not a technologist, and has a need to create a information-centric website.
2006 Feb 07
4
inexpensive ways to make a rails application highly available? mysql replication?
I''m interested in making a low volume rails application very available. This means that I would like to have an alternate server for those times when the primary server is unavailable for whatever reason. Virtual private servers are fairly inexpensive so one could have a rails application on 2 different vps systems (not on the same server, possibly not even in the same city).