Flowdock
method

order_column

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: ActiveRecord::QueryMethods
order_column(field) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/relation/query_methods.rb, line 1436
      def order_column(field)
        arel_column(field) do |attr_name|
          if attr_name == "count" && !group_values.empty?
            table[attr_name]
          else
            Arel.sql(connection.quote_table_name(attr_name))
          end
        end
      end
Register or log in to add new notes.