Тіма Маслюченко
2012-Oct-01 11:30 UTC
Add posibility pass hash to ActiveReccord::Querying#order
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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.