Module: ActiveRecord::PostgreSQLCursors::JoinDependency

Included in:
Associations::ClassMethods::JoinDependency, Associations::JoinDependency
Defined in:
lib/activerecord-postgresql-cursors.rb

Instance Method Summary collapse

Instance Method Details

#clear_with_cursorObject

Extra method we can use to clear out a couple of things in JoinDependency so we can use some of the methods for our cursors code.



12
13
14
15
16
# File 'lib/activerecord-postgresql-cursors.rb', line 12

def clear_with_cursor
  @reflections            = []
  @base_records_hash      = {}
  @base_records_in_order  = []
end