search for: show_two_days

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

2006 Jul 24
2
how to avoid repeating code in controller
Hi, I created a calendar class and i now have a method which gives me a 1 day view with timeslots etc. now i want to re-use that code for generating 2 and 5 day views. how can i re-use my code so i can make a show_two_days class which uses the logic of the show_one_day class? am i correct it can''t be done with helpers? regards, Remco -- Posted via http://www.ruby-forum.com/.