search for: guide_id

Displaying 1 result from an estimated 1 matches for "guide_id".

Did you mean: guide_
2005 Dec 15
2
Select/Option selected value
...d ] }, { :include_blank => true }) and # By default, post.person_id is the selected option. Specify :selected => value to use a different selection # or :selected => nil to leave all options unselected I have this in my view: <%= select("impact", "guide_id", Guide.find_all.collect {|p| [p.acronym, p.id ] }, { :include_blank => true} ) %> I know guide_id variable is set because in the tag before it I can show: <%= impact.guide_id %> I''ve even tried this, which just makes the box say "Please select" upon load: &l...