search for: born70s

Displaying 6 results from an estimated 6 matches for "born70s".

2006 Mar 28
3
Problem with 1.1 and component...
I have run into a problem with 1.1 that I just ran into. I have component model thats in a namespace that references a regular model thats not. News::Event #under componets/news/event.rb ... belongs_to :state #where state.rb is just under app/models when I go to try and reference this I get an ''unitialized constant State'' error. My guess is that its looking for News::State
2005 Nov 06
11
Ideal Rails / Apache config?
Hi All, Just about to set up RoR on our server and was wondering what the ideal setup for RoR is these days? Apache 1? Apache 2? fCgi? Any guidance would be helpful! Thanks, -Adam
2006 May 23
8
Can Win32 service more than one rails request at a time?
Hi, I am trying to run Mongrel on win32 to serve an internal rails application. We are accessing legacy data, and some transactions can take 5 to 10 seconds. This is holding up every other request. The -n does not seem to be supported on Win32. Am I missing something, or should I look elsewhere to serve my Rails app on win32? Thanks, Walt -- No virus found in this outgoing message.
2006 May 16
2
Pass env var from Apache to Mongrel?
I use Apache to serve the static pages and let Mongrel handle Rails requests via mod_rewrite/proxy. Apache RewriteRule can set environment variable on the fly, and this is one of the features I used, set an env var based on domain name. I used to use SCGI Runner which was fine as the env var was passed to Rails via scgi protocol. I seems can''t find a way to set env var in Mongrel on
2006 Mar 24
0
Hang after upgrade to 1.1RC1 and Edge
The same application, working fine under 1.0, but after upgrade to 1.1RC1 (include edge Rails 4021) the cpu keeps spinning (took 85%) and the rest was taken by Postgresql. Looks like Rails keep sending sql statement to the database. I did a strace and following messages repeat: send(8, "Q\0\0\0\nBEGIN\0", 11, 0) = 11 rt_sigaction(SIGPIPE, {0xb7ec06bc, [], SA_RESTART}, {SIG_IGN},
2006 Aug 04
0
Re: Passing env var from Apache to Mongrel
Hi Yan, If you just need to access the env var which doesn''t change like SERVER_NAME, you should be able to access it directly using "request". However, if your env var is dynamicly set, you can try my way. I use mod_rewrite to proxy to Mongrel. In your httpd.conf (you need mod_header) RequestHeader set X_YOUR_ENV your_value And in Rails access it by