Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Improve reverse_sql_order method

#2602

reverse_sql_order method in AR::Base, defines an unnecessary local variable, but most important is the last elsif which is redundant since if the first and second ifs doesn't match the expression the third one always will.

Reported by Emilio Tagua · May 2nd, 2009 @ 06:04 PM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Repository
    Repository
    • State changed from new to resolved

    May 18th, 2009 @ 09:50 PM