Displaying 20 results from an estimated 7000 matches similar to: "SwitchTower to skip config/ directory"
2006 May 14
3
Configuring Capistrano For Local To Remote Deployment
How does one configure capistrano for moving local file to your remote
server? In the docs it says that one cannot use file:// so what''s the
configuration step for resolving this issue?
Thanks in advance,
-Conrad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060514/93bb7173/attachment-0001.html
2006 Mar 07
17
[UNDER CONSTRUCTION] YAC? (Yet Another Capistrano)
My needs are far more modest than Capistrano''s capabilities. Also, when
working in a shared hosting environment, the Capistrano model can be
outside the capabilities allowed by the Web host.
I simply need to push selected directories (on a changed-file basis) out
to a server. I have about 80% of the code written to do this (I''m
considering YAC for the name, with a nod to
2006 Feb 25
1
a switchtower recipe to copy rather than checkout
For those who want use switchtower to deploy to a remote server that does not have
access to the main subversion repository, here is a task I just hacked up to use
switchtower to deploy to my servers by copying a local directory to the servers, rather
than have the servers use svn checkout.
I actually create my local directory using an svn export, but you can do whatever you
like here, and just
2006 Mar 02
2
A nasty evening with dispatch.fcgi
Hello all. Time for an all night installation
campfire (no pun intended) story.
I just helped a customer migrate from a single box
to a 5 box system.
2 Lighty
2 FCGI
1 DB
Everything went quite well. I scripted everything
so it would be easy to add more boxes in the future.
3 scripts, one for each box type above.
Then came time to get the site working. :-)
Lighty came up easily.
The DB came up
2006 Jan 26
7
Switchtower Port Issues
Hi there,
I''m having some difficulties finding some decent info on getting
Switchtower to function for my needs. I''ve read most of the
Switchtower doc on http://manuals.rubyonrails.com/read/chapter/97,
however it''s not answering some potent questions I have.
1. The doc mentions, as an example, using an SVN repos at
http://svn.switchtower.com/flipper/trunk
What if I
2006 Apr 24
12
setup a staging site?
Hi, i''m wondering how to setup a staging site for my RoR app. Right now i
run webrick on my laptop to develop, then i svn commit my changes to the
production server. However i need to make my development environment
available to others and not just for me on my laptop.
I have RoR setup on a hosted vps server which runs in production
environment. Its on apache 1.3 and mysql. How can i
2006 Jun 20
8
Integrating multiple applications
I''ve got a couple apps that I use (billing app, support ticket app,
some other custom apps) that I want to integrate into one site. They
will all use the same layout for the most part, and will link between
each other.
When I initially thought of doing this, I figured if I put the apps at
different roots - /billing /support etc - then the links wouldn''t work
at all, because
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 Feb 02
4
uninitialized constant Test (NameError)
I have three Rails apps on my laptop.
Two can runs tests just fine.
The third generates this error when I try to run any tests:
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/
> active_support/dependencies.rb:200:in `const_missing'':
> uninitialized constant Test (NameError)
> from ./test/unit/../test_helper.rb:5
> from
2006 Feb 01
18
Switchtower Error
This is my deploy file
set :application, "varcasa stage"
set :repository, "file:///c:/svnrepo/thenali/trunk"
#
=============================================================================
# ROLES
#
=============================================================================
# You can define any number of roles, each of which contains any number of
# machines. Roles might
2006 Feb 16
5
filter a list
I''d like to add some filter choices to display a list of items. These
items has some boolean fields for example, and would like to have a
checkbox at the top of the window to let me select how to filter the
list.
here''s what i put in my controller
if @params[:filter].nil?
@params[:filter] = { ''sent'' => "1"}
end
... generate the corresponding
2006 Feb 09
9
RMagick on OS X - HOW
Hello all.
I''m a seasoned system administrator and have no fear of building
source packages on a variety of platforms, but RMagick has, until
recently, evaded all of my attempts to building it on my PowerBook.
Someone else just mentioned that they had trouble with RMagick on
OS X (Intel, don''t really know if my advice will help) so I
decided to post a HOWTO to the list.
I
2006 Jan 24
2
SwitchTower and multiple database.yml files - how do you deal with them?
Hi everyone,
What are other people doing with regards to database.yml being in
version control? My dilema:
I set up my rails app in svn using these instructions:
http://wiki.rubyonrails.com/rails/pages/HowtoUseRailsWithSubversion
The part to note is where I ignore database.yml, allowing different
developers to keep their own database.yml without clobbering other
developers'' files.
2006 Feb 28
12
Examples for Money library ?
Can anybody share some examples of their Money implementation ?
I''m trying to setup a Model to use this library, but can''t seem to wrap my
head around how it is exactly supposed to work.
My Model (Foo) looks like:
===============
composed_of :commission, :class_name => "Money", :mapping => [
%w(commission_cents cents), %w(commission_currency currency) ]
Yet, in
2006 Mar 22
15
Rails-1.1.0-RC1 tagged today (4010)
Looks like Rails 1.1.0 RC1 is finally here:
http://dev.rubyonrails.org/changeset/4010
--
Posted via http://www.ruby-forum.com/.
2006 Mar 06
6
rails app in professional development environment
I''ve been working on my rails app which will be a web app that i want to
launch as a business. Being new to rails i''m wondering what professional
web app developers do for their development environment. Right now i''m
developing and testing on my laptop. I think i''ve gotten far enough along
where i want to put it up on a hosting machine to develop further,
2006 May 10
6
Migrations don''t really support transactions
I read in various places that although migrations aren''t transactional, all
you need to do is wrap you migration method in "ActiveRecord::
Base.connection.transaction do"
to make the self.up or self.down transactional. In my experience (Rails +
PostgreSQL), this doesn''t work very well. If my migration hits an
exception, any tables that were touched remain modified.
2006 Jan 24
9
Constructors
Hi all,
A little question. How can u use an constructor in controller? I would
like to initialize some central stuff before i''m processing the controller.
thanks in advance,
Martijn
2006 Jul 19
13
MySQL Replication as Load Balancing
Hello:
We will be setting up MySQL replication for a load balanced environment,
but we have to separate reads and writes.
How can we modify rails to do so? Has anyone done this already?
Thank you in advance!
Dan
--
Posted via http://www.ruby-forum.com/.
2006 Apr 28
3
store user id in session or find user id
Hi
Im uisng the lgoin generatior that as far as I can tell stores the
username in session.
I have another table that i need to store the id of the user who creates
an entry. (the logged in user)
Is it possible to store return the id and store it in session once the
user is created.
then do somthing like @project.user_id = session[:user].id;
or can I perform a search in the product table