RubyGems Navigation menu

constant_table_saver 4.1.1

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 3.2.19, 4.0.8, and 4.1.1, on Ruby 2.0.0. Previous versions were also tested compatible with 3.0.17 and 3.1.8 and it may still be but they're not supported.

Gemfile
          gem 'constant_table_saver', '~> 4.1.1'
  
  
  
  
  
  
  

install
          gem install constant_table_saver
  
  
  
  
  
  
  

Total downloads 4,191

For this version 371

Show all versions (6 total)

Required Ruby Version: >= 0

Links:

Versions:

  1. 4.1.1 - August 18, 2014 (13 KB)
  2. 4.1.0 - August 18, 2014 (13 KB)
  3. 4.0.0 - May 18, 2014 (13 KB)
  4. 3.0.1 - June 11, 2013 (12 KB)
  5. 3.0.0 - April 20, 2013 (12 KB)
Show all versions (6 total)

Runtime Dependencies:

Development Dependencies: