Sha256: 63512dca6eb829f5e331a282d43801eb9e2085f898bfbfecc63aae6d7c714d7c

Contents?: true

Size: 685 Bytes

Versions: 5

Compression:

Stored size: 685 Bytes

Contents

require 'postgresql_cursor/version'
require 'postgresql_cursor/cursor'
require 'postgresql_cursor/active_record/relation/cursor_iterators'
require 'postgresql_cursor/active_record/sql_cursor'
require 'postgresql_cursor/active_record/connection_adapters/postgresql_type_map'

# ActiveRecord 4.x
require 'active_record'
require 'active_record/connection_adapters/postgresql_adapter'
ActiveRecord::Base.extend(PostgreSQLCursor::ActiveRecord::SqlCursor)
ActiveRecord::Relation.send(:include, PostgreSQLCursor::ActiveRecord::Relation::CursorIterators)
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.send(:include, PostgreSQLCursor::ActiveRecord::ConnectionAdapters::PostgreSQLTypeMap)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
postgresql_cursor-0.6.2 lib/postgresql_cursor.rb
postgresql_cursor-0.6.1 lib/postgresql_cursor.rb
postgresql_cursor-0.6.0 lib/postgresql_cursor.rb
postgresql_cursor-0.5.1 lib/postgresql_cursor.rb
postgresql_cursor-0.5.0 lib/postgresql_cursor.rb