RubyGems Navigation menu

columns_on_demand 5.1.0

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.

Gemfile:
= 複製 已複製

安裝:
=

版本列表:

  1. 6.0.0 - November 12, 2020 (13.5 KB)
  2. 5.2.0 - January 02, 2018 (13.0 KB)
  3. 5.1.2 - January 02, 2018 (13.0 KB)
  4. 5.1.1 - May 09, 2017 (13.0 KB)
  5. 5.1.0 - April 13, 2017 (12.5 KB)
顯示所有版本(共 18)

Runtime 相依性套件 (1):

Development 相依性套件 (6):

byebug >= 0
mysql >= 0
mysql2 >= 0
pg >= 0
rake >= 0
sqlite3 >= 0

擁有者:

作者:

  • Will Bryant

SHA 256 checksum:

063b4c476a558500845aab737b4f82b00e1c86e6a1549557d1aca877647c0345

總下載次數 1,173,959

這個版本 40,898

License:

MIT

Ruby 版本需求: >= 0

相關連結: