Flowdock
method

ordered_relation

Importance_0
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: ActiveRecord::FinderMethods
ordered_relation() 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/finder_methods.rb, line 557
      def ordered_relation
        if order_values.empty? && primary_key
          order(arel_attribute(primary_key).asc)
        else
          self
        end
      end
Register or log in to add new notes.