similar to: session scope?

Displaying 20 results from an estimated 8000 matches similar to: "session scope?"

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 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 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 Jan 25
29
Write-up on RoR + XUL Sample
Hi Folks, Just a quick message saying that, after much demand, I wrote a quick write-up for the RoR + XUL thing I did yesterday: http://www.zedshaw.com/blog/programming/ruby_xul.html It lays out the few simple things I did, has a bit of rant on an unrelated topic, and other stuff but it''s short still. On a related note, I''d like to thank "xal" on IRC for reminding
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 29
5
help with installing login_engine
Hello, I did a script/plugin discover then script/plugin engine then script/plugin login_engine The discover worked, but I get engine and login_engine not found. I am using a Mac Thanks Frank
2006 Jan 13
3
related drop down list / ajax
Hi all, I''m trying to create a related dropdown box: In my view: <select name="category" id="category"> <option value="">Select category</option> <% @categories.each do |category| %> <option value="<%= category.id %>"> <%= category.title %> </option> <% end %>
2005 Dec 18
3
could you give me a hand?
hi. i try to record a global array to save on-line member. it''s put this array in controllers/application.rb or not? my code like this: $online_users = Array.new and each member sign in will add himself to $online_users. miss something? all regards -- Posted via http://www.ruby-forum.com/.
2005 Dec 26
2
resorting a dataset
Quick question to see how I might re-sort an Activerecord data set. Let''s say I have this table: tablename: testscores | id | student | score | avg_for_year 1, steve, 85, 82 2, tom, 84, 92, 3, jim, 92, 95 In my controller, I have something like: t= Testscores.find(:all, :order => "score DESC", :limit => 2) ...where it would return the records for Jim and Steve.... My
2005 Dec 29
5
Subversion graphical client?
Hi All - I notice that most of the Rails team are using Mac OS X and TextMate for Ruby development. I too am working on Mac OS X and trying TextMate and (shudder?) EMacs. I was wondering about version control. Are folks using Subversion? If so, are they using a graphical client? Which one do they recommend? Yours, Jordan -- Posted via http://www.ruby-forum.com/.
2006 Mar 08
2
RailsConf speakers
Does anyone have a clue as to when the railsconf speakers will be announced? Thanks- -Ezra Zygmuntowicz Yakima Herald-Republic WebMaster http://yakimaherald.com 509-577-7732 ezra@yakima-herald.com
2006 Jan 31
4
A dumb question on extracting a value from a hash
Hi, I have the following code fragment; @comm_type = Communication.find_by_sql(''select id from communication_types where upper(description) = "EMAIL"'') Which results in >> @comm_type => [#<Communication:0x39a0f60 @attributes={"id"=>"4"}>] But when I try to test an ActiveREcord against this it doesn''t work;
2005 Nov 18
7
[OT] Shared hosting for Rails projects
To much of my dissapointment, the uptime on my TxD account does not improve. What alternatives do we have for hosting Rails projects on shared accounts? I would love to keep lighttpd and the level of control I have on TxD but wouldn''t like to spend much more (I am currently on the 25$/month plan). I won''t need much support, but I would love to have subversion
2006 Jul 01
22
TextDrive complaints
Hi all, I have deployed my Ruby On Rails application on TextDrive. At first everything seamed to be fine. However, lately, response time of my application is incredible slow. Worse, lately there is also a lot of downtime. I have contacted their support desk, however, they do not respond (at all, or very, very late). Has anyone else these experiences with TextDrive? And if so, what did you do
2005 Jun 07
13
My Rails Day entry: internet command line
Well, my entry for the 24-hour Rails Day competition is here: http://yubnub.org . It''s a web app called YubNub that implements the grandiose idea of a "command line for the Web OS". Type "gim porsche 911" to do a Google Image search for Porsche 911 cars. Type "random 1000" for a random number between 1 and 1000. Type "tts David Heinemeier Hansson is
2007 Jul 31
3
country listbox from table
sorry again, i''m building a registration form, getting stumped on the country listbox. any ideas how i could build a listbox for countries, taking it''s content from a data table? i''d imagine i''d have to generate a data model for country, fill it in with all the current ISO spec countries; that i can do. then tie that data model to the account controller.
2005 Oct 11
4
Searching an attribute in a hmabtm relationship
(Nuby to Ruby and Rails...) I''ve implemented security using the login generator in a simple app so that I have a user table, a roles table, and a join between them (roles_users). All works as expected. I now need to check if a user has a specific role, but my approach is off somehow. Here''s what I''ve tried thusfar: user_roles = @session[:user].roles
2006 Mar 08
12
favorite FTP client of railers
Hi, Which FTP client would fit in nicely with OS X and Textmate. Thanks, Peter