Hi guys
I have added possibility pass hash to order method. Also i updated symbol 
parsing.
Here is the pull request - https://github.com/rails/rails/pull/7765
Can you please provide some feedback?

So the main idea is to convert symbol or hash into Arel::Nodes::Ordering 
instead of Arel::Nodes::SqlLiteral.
Arel::Nodes::Ordering object contain information about table - so we can, 
for example, change alias on the fly

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-core/-/VfHuE4lHSVkJ.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-core+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to