Displaying 3 results from an estimated 3 matches for "jschairb".
2007 May 19
2
RV permissions -- can''t park in my lot!
I''m trying to setup RV and cannot get it started. I keep getting:
Permission Denied : /var/log/rv.log
I''ve tried running it as root to test and also using www-data and chrgrp of
rv.log to www-data.
Here''s the output:
nohup su -c "/usr/bin/ruby rv_harness.rb 3301 127.0.0.1 < /dev/null 2>&1 >
/dev/null" www-data < /dev/null 2>&1 >>
2005 Dec 15
3
Rails: Select and html forms
I''m close to getting this to work, but not quite there. I''m trying to
implement a dropdown control, with the current choice selected.
I have the following code in the view:
5 <select id="product_product_type" name="product[product_type]">
6 <%=
7 types = ProductType.find(:all, :order => "product_type")
8
2005 Dec 15
2
Select/Option selected value
I''m trying to get a select box to populate with the current option for editing
purposes. I can populate the box, but not with the currently selected value.
I''ve read in the api where it says to do this:
# Example with @post.person_id => 1:
# select("post", "person_id", Person.find_all.collect {|p| [ p.name,
p.id ] }, { :include_blank =>