similar to: Symlinks in Capistrano?

Displaying 20 results from an estimated 200 matches similar to: "Symlinks in Capistrano?"

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 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 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 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 May 02
3
Ordering Results returned by has_many relationship.
Noob Question 31,265,232 if I''m searching on an object, say order, that has many "order_lines" and I want to display order lines by Quantity ( an attribute of the order_lines ) descending how could I do that without having to do a find() with :order, but something like; Order.order_lines.each do |ol| <!-- code to diplay the line --> how can I determine the field
2006 Jul 03
1
Capistrano - disable_web and enable_web with lighty?
I was using lighty+fastcgi before, and it was working pretty well, but I decided to move to Apache+mongrel because I really really like Mongrel. Well now I found out about lighty+pound+mongrel [1] and I think I''m going to give that a shot. I definitely prefer lighty to Apache - it''s pretty ridiculous how much fewer resources it uses. Anyway the only thing I''m going to
2006 Jan 31
2
Production Mode
In production ( hosted in dreamhost) during migratin , I want send the users to a maintaince page. Is there any standard way of doing this. Rgds, --Siva Jagadeesan http://www.varcasa.com/ My First Rails Project. Powered by Typo and soon by RForum too -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Jan 08
0
Samba 3.0.22 PDC trusting Active Directory 2003
I'm a longtime Samba user and admin (since 1.7) and I thought I had seen just about everything until Active Directory 2003 (native mode) completely took out our Samba user authentication (each server auth=domain to an AD 2000 domain). We have Samba running on a variety of servers (AIX, HP, Linux) and need to be able to provide our users with the ability to access their appropriate shares
2007 Jan 10
0
capistrano disable_web with mongrel_cluster
Ok, So I''m running mongrel_cluster behind a hardware load balancer. I don''t have apache running at all, just mongrel_cluster. Does anyone know how I can get cap disable_web/enable_web to work without Apache. With no apache I can''t just make an .htaccess file change like the docs state. has anyone rewritten disable_web/enable_web to work with just mongrel_cluster and
2006 Apr 04
1
Does anyone have a primitive rake "deploy to test" script?
Would anyone be willing to share a skeletal rake script to deploy an app. to a remote test server, set up the DB, etc. Something to just get started would be great. Old Ant person here, so fairly comfortable with the concept. Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 Jan 17
15
legacy database and finder_sql nightmare!
This is my first rails app with a legacy database and I''m having a terrible time getting the models set up correctly. I have an order table that has a primary field named order_number. I have a name table with a primary of item_number. These two tables are liked by the item_number and the order_number, but not as you might think. If the order_number is 2500, then each entry in
2009 Jul 31
6
Background daemon
It''s sending e-mail every hour, but I changed to sleep for a day, but keep send the e-mail by hour. I don''t know what to do to send daily. Could somebody help me? thanks ############ # mailer.rb ############### #!/usr/bin/env ruby # You might want to change this ENV["RAILS_ENV"] ||= "production" require File.dirname(__FILE__) +
2019 Jun 03
3
Difficulty with samba after updating from 3.6.6 to 4.9.0.0
Server - HPUX 11.31 Clients - WIN7 WIN10 After upgrading my versions to 4.9.0.0 I've noticed that we're unable to connect to our AD joined SMB HP-UX Server any longer. Could someone tell me where to begin digging in release notes between 3.6.6-4.9.0.0 to find out what changed in the smb.conf file that would be causing our problems? Here's a somewhat similar .conf output global]
2006 Mar 07
4
Lighty + Mongrel?
On httpd I use ProxyPass and ProxyPassReverse to forward requests to webrick and mongrel. How can I do this same thing using Lighty and Mongrel? Thanks, Joe -- Posted via http://www.ruby-forum.com/.
2008 Jan 23
7
Apache, Mongrel, Authentication
A question about mongrel, apache and authentication. I''ve got a Rails site with I think a very typical setup: a mongrel cluster behind an Apache proxy. So Apache''s handling the static stuff and it hands off dynamic content to mongrel. I want to put the site temporarily behind Apache''s basic authentication. What I get when I do this is that is a password prompt which
2006 Jun 15
13
Best Approach to a ''Down for Maintenance'' Page?
What is the best way to implement a ''Down for Maintenance'' page across your Rails app? Ideally I would like to have a button in my admin section that toggles the display of a ''currently under maintenance'' page to every public request to the app (possibly with some dynamic content like estimated down-time) except for: - - requests from a specified IP
2006 Apr 09
16
Rails 1.1.2: A tiny fix for gem dependencies
The new gem version dependency system from Rails 1.1.1 needed a few tweaks to work properly and to stop throwing meaningless warnings. This tiny release makes up for that. To install: * gem install rails * rake rails:update:configs (to get the latest config/boot.rb) This release also signals our new commitment to do more tiny releases from the stable branch, which only gets bug fixes. So it will
2006 Apr 11
4
Two versions of Rails on one PC
I want to have Rails 1.1 + Rails 1.0 on the same PC and be able to load my script with a different version each time. Is it possible? -- Posted via http://www.ruby-forum.com/.
2006 Feb 21
9
SwitchTower 1.0.1, SwitchTower Extensions
SwitchTower is a utility that can execute commands in parallel on multiple servers. It allows you to define tasks, which can include commands that are executed on the servers. You can also define roles for your servers, and then specify that certain tasks apply only to certain roles. Manual: http://manuals.rubyonrails.org/read/book/17 Project:
2006 Feb 27
16
Rails 1.1
It was said at one time that Rails 1.1 might be released in February. Is that still likely? Thanks, Don Mc -- Posted via http://www.ruby-forum.com/.