similar to: hiding header/footer on html print?

Displaying 20 results from an estimated 1000 matches similar to: "hiding header/footer on html print?"

2006 Feb 10
3
Using two select elements (master - slave)
Hi, I am looking for an opinion. I need to have two select html elements in a form, the selection of the first element will determine the elements of the second select. I do not want to use AJAX, so I think I would like to add a onchange event in the first select, but due to my lack of experience in rails I am somewhat without ideas on the way of handling this "post back" event. Thank
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 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 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
2005 Dec 29
3
Storage for images: Database BLOBs or files?
I can''t decide where store images for my Rails application. -- Posted via http://www.ruby-forum.com/.
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 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 May 01
7
ActiveRecord and Database Views
Hiall, If I have say 10 tables that i would like to wrap up in 1 view to manipulate data inside these tables, do I then need 10 model.rb files for all 10 tables plus 1 for the view, or do I just need 1 model.rb file for the view ? cheers Martin
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
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 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).
2006 Feb 07
11
Possible Rails Security Issue?
I have an e-commerce site and users check out with a form. The results of that form are sent to a "confirm your order" page via POST. I take great pains to NEVER store the full credit card number on my server--just the last 4 digits. I was very surprised to find that by default Rails will record POST requests with parameters in the production.log. And those parameters
2006 Sep 15
5
Samba 3 PDC - trouble renaming domain member computer
All, I've got a Samba 3 PDC serving numerous XP clients, and I'm getting an error I wouldn't have expected. When trying to rename an XP machine joined to the domain (via "netdom renamecomputer"), the command fails unless the specified domain user has UID 0. The command in question: netdom renamecomputer %COMPUTERNAME% /newname:%NEWNAME% /userD:DOMAIN\USER
2006 Mar 22
0
Lighttpd aliased does not render css or images - please help!
Hello all, I''m very badly in need of help here. I''m sooo close to this solution, and I WILL be blogging this when I finally have it working. I''m using Lighttpd + Mongrel + aliased app. I have the basic alias working. http://localhost/myapp/ renders the routed :controller/:action as does http//localhost/myapp/controller/action for production pages. The page source
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.
2005 Dec 19
3
created_on, created_at defaulting to 2000/01/01 00:00:00
Hello all, Rails 1.0.0 created_on is being set to 2000/01/01 00:00:00 Any ideas on this ? Thanks! Schema is create table user_login_history ( id int identity(1,1) not null, user_id int not null, created_on datetime default(getdate()) not null, created_at datetime default(getdate()) not null, updated_on datetime default(getdate()) not null, constraint pk_user_login_history primary key clustered