Displaying 20 results from an estimated 1000 matches similar to: "Recommendations for Apache 2 with mod_fcgid"
2006 Apr 20
9
How to change project location?
I moved a project from /var/www/mypro to /home/user1/mypro ... what do I
have to change in config?
The server does not start anymore.
Thank you - Eric
--
Posted via http://www.ruby-forum.com/.
2006 Apr 19
4
emacs rails 0.39
Testing version of Emacs Rails (http://rubyforge.org/projects/emacs-rails/)
was released. If you have some suggestion or you find some bugs please
inform us.
Features:
* Management of WEBrick/Mongrel
* Display color log file
* Toggle Switch between Action/View and other file (tests, helpers)
automaticly or with menu
* Switching to file from current line f.e. from redirect_to :controller =>
2006 Apr 09
8
Computer Name
How to get the name of the computer accessing the application? I mean
the computer the user use to access the application.
Thanks,
Lantis.
--
Posted via http://www.ruby-forum.com/.
2006 Jun 12
14
Scope of a global
If I set a global can it be access from all instances of Rails (on the
same application server)?
By instances of Rails I mean for each user who use the application?
Many thanks, K.
--
Posted via http://www.ruby-forum.com/.
2006 Jun 07
2
Making an HTTP request to an external machine
During one of my controller actions I want to call an external machine
before I do anything. It''s not a real web service, more like a
REST-style thing where I''ll just be tweaking a servlet running on
another machine and sending it some data.
Does Rails give me anything to work with for doing that? I read the web
service stuff but it''s overkill for what I need. I
2006 Apr 05
16
Migration won''t rollback to specific version?
Hi all,
I''m confused about how migrations work. I''ve been using them for a
couple of weeks but haven''t had any serious rollback issues yet. Just
now I added a field to a table with a migration and ran "rake migrate",
which added the field as expected.
This was in the file db/migrate/007_mymigration.rb, making it version 7.
Later I changed my mind and
2006 Jun 14
13
A good tutorial
Are there any other tutorial than "Agile Web Development with Rails"
that you can suggest? So far I can''t say that RoR has been easy to
learn. :-)
--
Posted via http://www.ruby-forum.com/.
2006 Jun 09
1
An idea: add RYUL to Rails
Dear Friends,
I''d like to have a development suggestion for Rails.
Rails is an amazing framework, and clearly it''s weakest link is that it
relies on HTML in the end, which is not always the most appropriate GUI out
there. Another option could be XUL. Mozilla-based browsers (Firefox) can run
XUL apps right out of the box, others could use the XULRunner application.
Here you can
2006 May 14
1
Does anyone know how to change timeout for production env?
Does anyone know how to change timeout for the production environment?
My action runs for ~2 minutes then timesout in production mode. In
development mode it is ok.
Thanks
Chris
--
Posted via http://www.ruby-forum.com/.
2006 May 30
2
Strange error
I have been getting the following error everyonce in a while. Can
someone please suggest what could be going wrong with my system? It
happens about once every 3 weeks. I resolve this by rebooting my server,
although I never tried to figure out what is the real problem.
Sharkie
2006-05-30 16:53:49: (mod_fastcgi.c.1561) connect failed: 386 Connection
refused 111 0 /tmp/site.fcgi.socket-2
2006 Jun 12
3
Syntax errors on "insert into"
I''m digging around and googling but can''t seem to find what I think is a
simple thing. All I''m trying to do is insert data in a migration into a
table, using regular SQL statements.
LIke this:
class AddStateData < ActiveRecord::Migration
def self.up
INSERT INTO states values ('''',''Alaska'');
INSERT INTO states values
2006 Jun 13
5
Can RoR handle a lot of traffic?
And compared to PHP?
--
Posted via http://www.ruby-forum.com/.
2006 Jun 02
3
Use a Model or Controller?
I am putting up a tool that connects to a subversion repository and
checks latest revision and downloads the changeset log for all the
changes made since last check and puts inside a hash for various uses
inside the code.
I am just wondering if the code that checks the subversion repo and
reads it''s data should bolong to a controller of it''s own or a model
of it''s own.
2006 Apr 08
16
International characters
I am new to Ruby on Rails. I have read a lot, and bought several books,
and now I have started to implement a modified "shopping cart",
following the AWDWR-book, with modifications to suit our application
(subscriptions and memberships).
Having done up to chapter 7 I have had no real problems, except one:
Since our customers are Swedish I need the screen names, texts etc to be
in
2006 Jun 07
4
WEBrick wouldnt start....
hi guys, just did a search and cant find anything helpful..
suddenly my WEBrick cant start.... omg.... dunno wat''s wrong with it
that''s wat i typed :
......$ruby script/server
=> Booting WEBrick...
......$
that''s all... i dont even know wat''s wrong and when i did a ps -F -C
ruby, i also couldnt find anything.....
did i jsut corrupt the file or wat???
2006 Apr 23
4
Penalties of using an eval on every request
Hello RoR!
I''m building a rails app for hosting multi-page surveys. I set up
questionnaire, question, and question_component models. Now I''m
initializing them with some data.
survey.rb
q1 = Question.new "q1"
q1.quote "Welcome to a test of the new interviewing system."
q2 = Question.new "q2"
q2.quote "Do you like pie?"
2006 Jun 05
4
Using grep with tail. Unix challenge!
I want to tail my development.log file, but i only want to show the
lines that have the word "ERROR" in. How can i do this??
Doing this :
tail -f development.log | grep "ERROR"
will filter the log file, but it will not constantly update itself. i.e.
newly added lines to the log file that contain "ERROR" are not
displayed.
Does anyone know how to do this?
Thanks
2006 Jun 02
14
Which is better for production: MySQL5 or PostGres8.1?
I''m coming from an Oracle and SQL Server background. I''d like to use
OpenSource for my next RoR project. MySQL5.x and Postgres8.1 seem to be the
most popular. I''d like some comments on which would be the better choice for
a production environment and why. Here are my initial concerns in order of
priority:
1. Works well with RoR. ( migrations, etc)
2. Stable enough
2006 May 16
9
Date transform
hi all,
i want my users to enter a date in "ddmmyyyy" format, do someone know
how may i transform it in "yyyy-mm-dd" in the controler before i add it
to the base please?
thks
irong
--
Posted via http://www.ruby-forum.com/.
2006 May 11
4
/public content security
Hello all,
I have a question regarding the security of my new web zine. The
idea is that I have editors that can log into the site, and then upload
comics in the form of a jpg. The way that I have this set up right now
is that the jpg is submitted through a form and then placed into the
authors sub directory in public/comics/. The record of the jpg is
stored in a pendingcomics table