search for: campano

Displaying 11 results from an estimated 11 matches for "campano".

Did you mean: campana
2006 Jul 28
7
Uploading 2+ files simultaneously
I''m having trouble uploading 2+ files simultaneously (from different client machines)... the upload page just hangs... I''m running... - ruby 1.8.4 (2005-12-24) [i686-linux] - rails 1.1.4 - red hat el 4 - apache - fcgi (0.8.7, 0.8.6.1) - firefox 1.5.0.5 - httpd.conf <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc/ AddHandler fastcgi-script .fcgi FastCGIConfig
2006 May 28
3
Association of table to itself
I''m curious what would be the best way to represent people and whether the person has someone marked as their friend. Here are my thoughts so far: People table - id - name Relationships table - person_id - friend_id Now my problem is I don''t know how to set up these associations (if this is even correct). Friend_id would be an id to someone else from the people table.
2006 May 16
2
Validate Before Delete
I have an Order model with a ''status'' column. What I want to be able to do is validate that the status of the Order is not completed before it is allowed to be deleted. I tried the following method in my Model, but it appears that this only works for an :update or :create on the record. Anyone know how to do this, and if it should be in the model or the controller?
2006 Apr 24
8
Application Design
I have a question about how to implement a design in Rails. I will try to make this as easy to follow as possible. First, let''s say that I have an ''Orders'' table that has different statuses. The 3 statuses that I want to track are ''Submitted'', ''Approved'', and ''Purchased''. I also have 3 users of this application.
2006 Apr 25
4
Symlinks in Capistrano?
I have a few projects with large directories (say, user-uploaded files) that make using Capistrano a bit awkward. However, I suspect that I may have reached the "write a custom task" level. (I suppose I''m just thinking out loud, here...) It seems as though I''d want this directories symlinked in /shared... Maybe there''s a way to extend the
2006 May 05
31
The perfect development environment?
I am trying to create the perfect development environment for rails and i dont know exactly which way to go. Do i create a windows environment or a *nix environment. If i go *nix, what distro is best suited for rails. I would be using mysql, so that would come in to play. If i go *nix, i would use apache. Any ideas for the right environment would be greatly appreciated. I guess the major choice is
2006 May 03
2
grouped output
hello, Suppose I have a table that looks like this: center name email Health Jon jon@test.com Health Bob bob@test.com Admin Jane jan@test.com Admin Jill jill@test.com I would like the output to look like this: Health Jon jon@test.com Bob bob@test.com Admin Jane jan@test.com Jill jill@test.com when i using cold fusion, this was easy via a tag called cfoutput. when i was using java, this was
2006 Apr 25
2
Transactions and migrations (lots of records)???
Hi all - I know this must be really easy to do, but I can''t for the life of me figure it out. I have about 100,000 rows I need to migrate over into rails using a migration. Right now, I select all of them out of the old database and do a series of: ... new.col = old.col ... new.save ... Problem is each one is it''s own transaction. And it''s slow. I''d
2006 Jul 19
0
file_column and 500 errors
Rails community, I have been trying to diagnose some sporadic "Rails application failed to start properly" errors, and this is what I have been able to determine. I am running on a shared server on site5, apache w/ FastCGI. When my application is running, it is only using 1 dispatch.fcgi process until I upload a picture with file_column plugin. At that point, between 3-4 more
2006 Jul 19
0
File Uploads And 500 Errors
Rails community, I have been trying to diagnose some sporadic "Rails application failed to start properly" errors, and this is what I have been able to determine. I am running on a shared server on site5, apache w/ FastCGI. When my application is running, it is only using 1 dispatch.fcgi process until I upload a picture. At that point, between 3-4 more dispatch.fcgi processes are
2006 Jul 20
0
Tracking 500 Errors
I have been trying to diagnose some sporadic "Rails application failed to start properly" errors, and this is what I have been able to determine. I am running on a shared server on site5, apache w/ FastCGI. When my application is running, it is only using 1 dispatch.fcgi process until I upload a picture. At that point, between 3-4 more dispatch.fcgi processes are spawned and the 500