search for: vw_string

Displaying 2 results from an estimated 2 matches for "vw_string".

Did you mean: w_string
2006 Feb 19
8
building multiple find conditions
I am trying to allow for AND type ''find'' but to allow for simply a single set of find criteria. controller code... @vw_string = @vw_string1 = @vw_string2 = @vw_string3 = [] if params[:beg_intake_date] != "" then @vw_string1 = ["intake_date between ? and ?", params[:beg_intake_date], params[:end_intake_date] ] end if params[:beg_referral_date] != "" then...
2006 Feb 19
2
progressive updates
...L I can have 3 different ''methods'' and ''views'' and switch between them using and use render => :partial but what I am struggling with is passing the selection from my pop-up list to the link_to tag. <%= options = [[params[:vw], ""]] + Placement::VW_STRING select("", :vw, options) %> <%= link_to ''Update'', :action => ''list'', :vw => params[:vw], :sort_by => params[:sort_by] %> My problem is that what I select from the list doesn''t change the value :vw in the ''l...