RubyGems Navigation menu

constant_table_saver 5.2.0

Loads all records from the table on first use, and thereafter returns the cached (and frozen) records for all find calls. Optionally, creates class-level methods you can use to grab the records, named after the name field you specify. Compatibility ============= Currently tested against Rails 5.2 (5.2.0), 5.1 (up to 5.1.6) and 5.0 (up to 5.0.6) and 4.2 (up to 4.2.10). For earlier versions of Rails, use an older version of the gem.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 6.1.0 - November 12, 2020 (14 KB)
  2. 6.0.0 - August 19, 2019 (13.5 KB)
  3. 5.2.1 - December 02, 2018 (13.5 KB)
  4. 5.2.0 - July 17, 2018 (13.5 KB)
  5. 5.1.2 - June 04, 2018 (12.5 KB)
Show all versions (14 total)

Runtime Dependencies (1):

Development Dependencies (5):

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

Owners:

Authors:

  • Will Bryant

SHA 256 checksum:

7d924dc6580717eb6522f2efb24c361fba12fad009730602b2b70223efac7dd6

Total downloads 524,387

For this version 2,006

License:

MIT

Required Ruby Version: >= 0

Links: