Module: Elasticfusion::ActiveRecordAdapterPatch
- Defined in:
- lib/elasticfusion/hooks.rb
Instance Method Summary collapse
-
#records ⇒ Object
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+.
Instance Method Details
#records ⇒ Object
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+.
7 8 9 |
# File 'lib/elasticfusion/hooks.rb', line 7 def records @_records_sorted ||= super.to_a end |