search for: sd1ucfuif7qjh4sczfkgnw

Displaying 9 results from an estimated 9 matches for "sd1ucfuif7qjh4sczfkgnw".

2005 Dec 15
3
session scope?
Hi all, I''m working on a Rails application. In this application I retrieve a list of ''brands'' using a method somewhere defined in my controller: private def get_brands @brands = Product.find_by_sql("select distinct brand from products"); end However, I display this information in a listbox in the template for my controller. This means @brands
2005 Dec 01
12
Difficult process of restarting SCGI, Lighttpd, Apache, sessions
I''ve managed to get Rails working using Apache->Lighttpd->SCGI. Restarting everything is really difficult. This appears to be the process: - stop apache - stop lighttpd - stop scgi - make sure scgi still isn''t running (it sometimes does) - if it is, kill it - delete all session files (they often cause permission errors) - start scgi - start apache - start lighttpd - cross
2005 Dec 15
5
site takes a while to load after first visit in a while
Using lighttpd + fcgi to power a site. When no one has accessed it in a while, the first visit to the page takes a while to load up. Then subsequent visits are fairly fast. Any ideas on how to fix it?
2005 Dec 08
3
lighttpd proxy w/ apache2
I''ve tried a bunch of things trying to get ruby/apache2 and php working together. I looked over my earlier post and followed the instructions on ezra''s website to install lighttpd on debian. I''ve gotten really far but I think there is one bit missing: 1. I got apache2 and php working together 2. I got lighttpd working on port 3000 and my rails app launches ok
2005 Dec 17
2
Encrypting files
Anyone know of a good (fast) way to encrypt/decrypt uploaded files in RoR? I''ve seen this project: http://ezcrypto.rubyforge.org/ but it only seems to encrypt strings and such. I need to encrypt files once they are uploaded, then decrypt them when they request the file back. Any ideas? Thanks, Mark -- Posted via http://www.ruby-forum.com/.
2005 Dec 21
8
textilize - redcloth
Hi, I''m using textilize with redcloth 3.0.4. Everything works best except that paragraphs are not translated as an HTML paragraph When I write something like: *first paragraph* second paragraph the output is without paragraph: *first paragraph* second paragraph Any help??? Thanks Jörg
2005 Dec 21
4
[OT] server partitioning question (rails + postgres)
Hi, A bit off-topic, but I''m about to set up a remote Linux server for Rails, with postgres and probably Lighttpd. The server has two 120GB hard drives, one of which will just be for nightly backups of the other. I don''t intend to have any untrusted user accounts on the server. The server will be dedicated to my own applications. I''ll want to support lots of www
2005 Dec 21
10
can an active records maps to N tables?
Hi, Is it possbile that one active record maps to N tables, actually the relation is 1 to 1, I wonder it is possible. also can a ruby object map to N tables, instead of an active records? Thanks you very much:) Saiho __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
2006 Jan 25
38
Rails app won''t run on Dreamhost - "incomplet headers" error
Can anyone provide some expert debugging help here? What''s the first step to take to see what the issue is here? I have no errors in the rails app''s log files. The only errors I have are those provided by apache and they are: ''FastCGI: Incomplete headers (0) bytes received from server'' I''ve tried editing the shebang line, removing line feeds, but