module Elasticfusion::ActiveRecordAdapterPatch
Public Instance Methods
records()
click to toggle source
github.com/elastic/elasticsearch-rails/issues/608, might be related to github.com/elastic/elasticsearch-rails/issues/258, though in my experience it only affects Rails 5+.
Calls superclass method
# File lib/elasticfusion/hooks.rb, line 7 def records @_records_sorted ||= super.to_a end