Flowdock
method

does_not_support_reverse?

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: ActiveRecord::QueryMethods
does_not_support_reverse?(order) 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 1143
    def does_not_support_reverse?(order)
      #uses sql function with multiple arguments
      order =~ /\([^()]*,[^()]*\)/ ||
        # uses "nulls first" like construction
        order =~ /nulls (first|last)\Z/
    end
Register or log in to add new notes.