How can I find efficiently the model Invoice with the greater code (invoice attribute) when the code is a string like "1/10", "2/10", "3/10" (without quotes) and where only the number before the slash count? 1/10 < 2/10 < 3/10 < 11/10 < 12/10, etc... -- Posted via http://www.ruby-forum.com/.
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.