search for: referral_date

Displaying 3 results from an estimated 3 matches for "referral_date".

2006 Feb 19
8
building multiple find conditions
...iteria. 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 @vw_string2 = ["referral_date between ? and ?", params[:beg_referral_date], params[:end_referral_date] ] end if params[:beg_discharge_date] != "" then @vw_string3 = ["discharge_date between ? and ?", pa...
2006 Feb 06
2
basic usage confusion
...ents Rendering placements/rfn2 ActionView::TemplateError (undefined local variable or method `placement'' for #<#<Class:0xb78874a8>:0xb7887124>) on line #11 of app/views/placements/rfn2.rhtml: 8: <%= debug params %> 9: <%= params.inspect %> 10: 11: <%= placement.referral_date %> which of course is the line in rfn2.rhtml that is causing the problem. placements_controller.rb has... def rfn2 @placement = Placement.find(params[:id]) end just like def edit and if I click on the ''edit'' link...no problem...I get the edit.rhtml with ''i...
2006 Feb 07
11
breaking down a list view
I''m trying to figure out how to change the order of a list view and it''s obvious to me that I don''t understand what I get from a simple scaffold to know enough to alter it. If someone would be so kind to tell me what this means ... def list @placment_pages, @placements = paginate :placements, :per_page => 10 end @placement_pages, # I am guessing that this