module Ransack::Configuration
def postgres_fields_sort_option=(setting)
See this feature: https://www.postgresql.org/docs/13/queries-order.html
end
c.postgres_fields_sort_option = :nulls_first # or e.g. :nulls_always_last
Ransack.configure do |c|
User may want to configure it like this:
whether nulls appear before or after non-null values in the sort ordering.
The `NULLS FIRST` and `NULLS LAST` options can be used to determine
def postgres_fields_sort_option=(setting) self.options[:postgres_fields_sort_option] = setting end