SixArm.com » Ruby » ActiveRecord extenstions: ActiveSupport::Memoizable for class methods
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.codeclimate/badges
doc
lib
test
.codeclimate.yml
.document
.gemtest
.gitattributes
.gitignore
.rspec
.travis.yml
CHANGES.md
CONTRIBUTING.md
LICENSE.md
README.md
Rakefile
VERSION
sixarm_ruby_active_record_memoize_class_methods-1.0.6-sha512.txt
sixarm_ruby_active_record_memoize_class_methods-1.0.6.gem
sixarm_ruby_active_record_memoize_class_methods-1.0.8.gem
sixarm_ruby_active_record_memoize_class_methods.gemspec

README.md

SixArm.com → Ruby →
ActiveRecord Memoize Class Methods

Introduction

ActiveRecord extenstions: ActiveSupport::Memoizable for class methods.

See http://www.railway.at/articles/2008/09/20/a-guide-to-memoization

For docs go to http://sixarm.com/sixarm_ruby_active_record_memoize_class_methods/doc

Want to help? We're happy to get pull requests.

Install

To install using a Gemfile, add this:

gem "sixarm_ruby_active_record_memoize_class_methods", ">= 1.0.8", "< 2"

To install using the command line, run this:

gem install sixarm_ruby_active_record_memoize_class_methods -v ">= 1.0.8, < 2"

To install using the command line with high security, run this:

wget http://sixarm.com/sixarm.pem
gem cert --add sixarm.pem && gem sources --add http://sixarm.com
gem install sixarm_ruby_active_record_memoize_class_methods -v ">= 1.0.8, < 2" --trust-policy HighSecurity

To require the gem in your code:

require "sixarm_ruby_active_record_memoize_class_methods"