On 8/22/07, James Adam <[EMAIL PROTECTED]> wrote:
>
>
> On 8/22/07, Jatinder Singh <[EMAIL PROTECTED]> wrote:
> > Wouldn't It more be more inuitive to say something like
> > :order => { :name => :asc, :created_at => :desc}
>
> Intuitively this is a nice idea, but it will cause problems because
> the order of columns in an ORDER BY clause is significant, and yet
> there's no explicit ordering within a hash.James is right. Also, conditions can be represented as a bunch of key-value pairs, but that doesn't fit well for order clauses. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
