lib/ransack/adapters/active_record/context.rb
# Because the AR::Associations namespace is insane
Because the AR::Associations namespace is insane
Because the AR :: Associations namespace is insane
def database_table_exists?
          if ::ActiveRecord::VERSION::MAJOR >= 5
            :data_source_exists?
          else
            :table_exists?
          end
        end
def database_table_exists? if :: ActiveRecord :: VERSION :: MAJOR >= 5 :data_source_exists? else :table_exists? end end
Because the AR::Associations namespace is insane
Because the AR :: Associations namespace is insane