search for: mylchreest

Displaying 5 results from an estimated 5 matches for "mylchreest".

2006 Mar 28
8
Correct way to capture a select param
I''m having trouble capturing the params from a select type form. For text field like this: <%= text_field_tag :courseid %> I''m able to capture the posted value with this params[:courseid] However with a select field like this: <%= select(:course, :id, %w{value1 value2 value3} %> I''m not sure how to capture the posted value. -- Posted via
2006 Aug 02
4
Disc quota exceeded when attempting to write session
...''m guessing the the tmp should not be there, as it does not show on my dev setup. I''m using rails (1.1.1) on FreeBSD, without quotas enabled (I checked with Verio tech support) and ample disk space. I would much appreciate anyone pointing me in the right direction. TIA Paul Mylchreest Here is my log extract: Errno::EDQUOT (Disc quota exceeded - /home/myapp/www/current/ public/../config/../tmp/sessions//ruby_sess.844b49d7e51abfab.tmp): /usr/local/lib/ruby/1.8/pstore.rb:330:in `write'' /usr/local/lib/ruby/1.8/pstore.rb:330:in `transaction'' /usr/l...
2006 Apr 04
1
habtm and options_from_collection_for_select [1.0.0]
I ran into a problem using options_from_collection_for_select : ActiveRecord::AssociationTypeMismatch (Topic expected, got String): /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ active_record/associations/association_collection.rb:128:in `raise_on_type_mismatch'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/
2007 May 04
2
possible fix for mongrel hangs
We''ve been experiencing the same kinds of hangs other people have described here lately. For no obvious reason our mongrel processes just freeze up and nothing short of a kill -9 can retrieve them. This is in a standard linux apache 2.2/balancer setup. Anyway, following some threads online I tried adding these directives: SetEnv force-proxy-request-1.0 1 SetEnv
2007 May 03
2
How to run a cpu intensive ruby script with rails functionality
Hi All, I am new to this list and to rails. So far I am loving the way in which it is easy to put together web pages with a database backend. I would love to use the rails functionality (to do the sql queries) and then process the results using some very cpu intensuve tasks. The results will take far longer than it is viable to use a web browser to view the results. I would like to see the