similar to: Where in the filesystem to place the rails application root?

Displaying 20 results from an estimated 10000 matches similar to: "Where in the filesystem to place the rails application root?"

2009 Aug 02
3
redirect_to or send_file and AWS S3
Hi, I store files on S3 as the id of the file in my appliction. IE my file with id 20 will be stored on S3 as 20. When I download the file I want to look up the file name in the database and then pass it off to the user. Is there any way I can use redirect_to and pass the S3 url and then give it the filename, so the user doesn''t get 20. Does this make sense? Thanks, David -- Posted
2008 May 09
3
Depot Application not working
Hello All, I am doing the depot appliction. I was first installed Instant Rails 2.0 on my machine. got error in getting scaffold :product then after searching in forum took the 1.2.6 version using the below command >gem install rails --version 1.2.6 --include-dependencies Now i am getting the error after starting the server >ruby script/server got the below error
2006 Jul 12
2
Initializing log4r once
I have a problem init''ing log4r. I have the following initialization code for log4r: Configurator[''logpath''] = ''./config'' # was ''./logs'' Configurator.load_xml_file(''config/log4r_config.xml'') I put it in appliction.rb, but then ofcourse at every request the logger system will be reinitialized. This causes the
2010 Apr 12
3
$(link).previous("input[type=hidden]") is undefined
I am getting this error when trying to use the remove link explained in the Railscast: http://railscasts.com/episodes/197-nested-model-form-part-2 error: $(link).previous("input[type=hidden]") is undefined remove_fields()applic...1065175 (line 6) function onclick(event) { remove_fields(this); return false; }()1 (line 2) [Break on this error]
2006 Apr 24
2
Asterisk2Billing
I'm sure this has been asked a million times. Therefore, I must ask again. Generally speaking, what do you guys think of it. It looks pretty good, but for my uses, I'm not sure that a calling card method is the *best* way to go. But, either way, what is the general concensus? -------------- next part -------------- An HTML attachment was scrubbed... URL:
2005 Sep 06
4
Which Linux distribution?
We have tried Asterisk 1.0.9 on FC4 and have never been able to get CAPI (with Fritz card, fcpci) to work properly. Apart from that Asterisk works fine in switching internal calls. But it's useless if we can't make outgoing calls on our ISDN line. We are considering abandoning FC4 for Debian or SuSe. What is the general concensus on the best Linux to run Asterisk with CAPI? /Why Tea
2006 Jul 03
4
Using Centos on both server and client systems a private network
I'm looking for how-tos/hints to make the following possible: I downloaded all four centos 4.3 iso to a ext3 partition on my hd, burned the first disk only, and the a hd based install. Problem: Centos didnt seem to take into account that I was doing a HD based install and and ask me if I wanted to use the hd images as a source for additional appliction installs later. Now it asks me for
2013 Feb 28
1
Validation Failed: Userkey has already been taken, Email has already been taken
Hi, I am using Factory girl with rspec and capybara for testing my rails appliction. I have the below code FactoryGirl.define do factory :user do |f| f.email "sss1 at gmail.com" f.userkey "12ssd345q62" end end When I run the test it is failing as "Validation Failed: Userkey has already been taken, Email has already been taken". What could be the reason for
2006 Aug 07
2
Select Box Question
Hi, Yet another newbie here... I''m writing an appliction in Rails, and I''ve Ajaxified my select boxes so they update dynamically. I used the "observe_field" method to monitor changes to my select box. I find that it''s kind of erratic... it updates constantly and makes the selection for me, based on where my mouse happens to be hovering when it does its
2006 Apr 05
1
Which ruby postgresql driver is recommended in rails?
There are 3 ruby postgresql drivers, which is recommended for use in rails? * postgres * ruby-postgres * postgres-pr (pure ruby, too slow?) I checked these postgresql-related tickets in rails and there doesn''t seem to be any concensus. It it seems ticket #4461 (applied in latest edge) tries to make them work equally well--but it would be great if the rails team recommended one.
2004 Dec 06
1
Setting CallerID with ITSPs
Is there some concensus on where to set callerid when making outgoing calls via an ITSP over IAX? Is this best accomplished in IAX.CONF or EXTENSIONS.CONF? Also, tech support at one ITSP told me that the SetCIDName command doesn't do anything. Is this something that might be unique to their server? Or a general statement of fact? Thanks, Michael -- Michael Graves
2004 Sep 10
1
Fwd: success compiling and running under IRIX
forwarding this on... > ----- Original Message ----- > From: "Erik Turner" <erik@turner.org> > To: <flac-dev@lists.sourceforge.net> > Sent: Tuesday, January 15, 2002 10:49 AM > Subject: Re: [Flac-dev] success compiling and running under IRIX > > > All, > > There is a discussion going on in the OggVorbis mailing list > about replay gain.
2006 Jan 13
2
Change Password with acts_as_authenticated
I want to have a form to change a users password. I can''t figure out what the method in the controller should look like. I tried @user.save and @user.update_attributes, but can''t get it to work. My Form: ############################## <%= start_form_tag :action => "update_password", :id => @user.id %> <%= password_field ("user",
2006 Feb 23
1
OT: Collaboa on Debian
I am running a subversion server (on Windows) but I would like to run Collaboa. I am pretty familiar with the Linux world (not in a developer sence) and I am having problems with installing the prereqs for Collaboa. I have read the article "How to install Collaboa on Debian" but it doesn''t seem to work for me. Has anyone gotten this working and can help? Seth Buntin Web
2003 Jun 04
2
rsync for migrating oracle datafiles
Hi - a question for all ye rsync guru's out there... I have a need to migrate some fairly large Oracle datafiles from a UFS filesystem to VxFS (VERITAS), however I am not being allowed nearly enough outage time to perform a standard file copy migration. The datafiles (of which there are about 4 are about 50GB each in size and on separate UFS filesystems. I am considering instigating a local
2006 Mar 02
9
FastCGI vs. Simple CGI
I''ve seen several postings where FastCGI is being used with RoR projects, yet, most of the material I''ve read (Dave Thomas'' book, online articles, etc) recommend not using FastCGI anymore because it is a dormant project and hasn''t been updated since 2003 (I think???). So, I went out and got Simple CGI instead. It had to be compiled and installed from
2006 Mar 21
5
RoR and Growing Pains
I have persuaded my company to move towards an RoR shop... from a PHP 5 (with in-house-built framework)... so the jump is not terribly bad. I''m REALLY excited actually! My problem: I am overwhelmed with all the setup Loops I have to jump through to get RoR setup. I tried it on my current Apache 1.34 and decided it''d be easier to make the Lighty (1.4.11) jump. So I did. I get
2006 Apr 09
18
I can''t get mod_fcgid to work
Hi, I just installed mod_fcgid on my apache2 server. When I try to load my application I get an "Application error - Rails application failed ..." message. In my Apache2 error-log it says: Premature end of script headers dispatch.fcgi mod_fcgid process /data/www/app/dispacth.fcgi exit (communication error), terminated by calling exit(), return code 1 Any help with this would be
2006 Jul 27
3
Subversion library for RoR
Hi everybody, Is there a gem or something for working directly with Subversion from a RoR app? Thanks, Tiffani A.B. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060727/26846e72/attachment-0001.html
2006 Jul 28
4
[mod_fcgid] 503 server temporarily unavailable
Hi There, Every now and then, and recently more and more we get a "503 server temporarily unavailable" error from our rails app. We are running Rails 1.0 with mod_fcgid in Apache 2.0.54 on Debian The thing is I don''t think we have such a heavy load on the server, and I haven''t seen this error occur at all outside the rails app. In fact I don''t think I ever