search for: in_attr

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

Did you mean: fn_attr
2006 Jul 20
2
workweek_select
...on google but couldn''t find it (because it isn''t there or I don''t know exactly what to search for). I''m not concerned about having the full railsy date select but it would be nice if it''s possible. This is the code so far: def select_friday(in_model, in_attr) # Scope breaker friday = "" # This seems to never trigger at all. A breakpoint before the conditional is never honored. Date.today.step(7, 1) do |day| if day.wday == 5 friday = day end end @dates = [] friday.step(20, -7){|day| @dates <...