def setup_search
    @timetable = Timetable.find( :first,
      :conditions => [ 'day = ? AND status = "active"', params[:id] ]
...

Ruby lengthy if statement. (Ruby...

by ytse.myopenid.com, October 21, 2008 22:13, 2 refactorings, tagged with ruby rails if else

This is my first post pleas...

Ea0b4e0dce47a1d4bba05b1bdffdc2d7 Talk