RubyGems Navigation menu

columns_on_demand 4.2.1.1

Lazily loads large columns on demand. By default, does this for all TEXT (:text) and BLOB (:binary) columns, but a list of specific columns to load on demand can be given. This is useful to reduce the memory taken by Rails when loading a number of records that have large columns if those particular columns are actually not required most of the time. In this situation it can also greatly reduce the database query time because loading large BLOB/TEXT columns generally means seeking to other database pages since they are not stored wholly in the record's page itself. Although this plugin is mainly used for BLOB and TEXT columns, it will actually work on all types - and is just as useful for large string fields etc. Compatibility ============= Supports mysql, mysql2, postgresql, and sqlite3. Currently tested against Rails 3.2.18, 4.0.8, and 4.1.4, on Ruby 2.0.0.

Versions:

  1. 4.2.1.1 - May 17, 2015 (13.5 KB)
  2. 4.2.1 - May 17, 2015 (13 KB)
  3. 4.2.0 - September 8, 2014 (13 KB)
  4. 4.1.1 - July 16, 2014 (13 KB)
  5. 4.1.0 - July 15, 2014 (12.5 KB)
Show all versions (10 total)

Runtime Dependencies:

Authors:

  • Will Bryant

Owners:

F1c9a2d6b6be7599854a75793ecd872d

Sha 256 checksum:

420955cb8aa082311817ca3a27ebf3727f248f9a59216d2e09e83f05611e1c4e

Total downloads 9,850

For this version 183

Show all versions (10 total)

Required Ruby Version: >= 0

Licenses:

MIT

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

Links: