This project is archived and is in readonly mode.
Improve reverse_sql_order method
Reported by Emilio Tagua | May 2nd, 2009 @ 06:04 PM | in 2.x
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.
Comments and changes to this ticket
-
Repository May 18th, 2009 @ 09:50 PM
- State changed from new to resolved
(from [5463823df38310d392a3f87d633dce9b4150259a]) Remove unnecessary condition and local variable [#2602 state:resolved]
Signed-off-by: Pratik Naik pratiknaik@gmail.com
http://github.com/rails/rails/commit/5463823df38310d392a3f87d633dce...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 2602 Improve reverse_sql_order method (from [5463823df38310d392a3f87d633dce9b4150259a]) Remove ...