Hi Jeremy (again :)), ActiveRecord 4 (I think) added a nice improvement to the ordering syntax:
Movie.order(:title => :asc, :year => :desc) I really like this syntax, because it's natural to use and very readable. While I'm happy that Sequel has so many different ways of writing queries, I still wasn't quite happy with ordering. I find `Sequel.desc(:year)` slighly verbose. `:year.desc` reads really nice, though, but you have to include core_extensions for that. I feel like ordering is common enough to deserve a more fluent syntax. If you think this syntax would be cool as well, I'd gladly make a pull request :) -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
