Flowdock
method

column_references

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::QueryMethods
column_references(order_args) 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 1604
      def column_references(order_args)
        references = order_args.flat_map do |arg|
          case arg
          when String, Symbol
            arg
          when Hash
            arg.keys
          end
        end
        references.map! { |arg| arg =~ /^\W?(\w+)\W?\./ && $1 }.compact!
        references
      end
Register or log in to add new notes.