aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/memoizable.rb
Commit message (Collapse)AuthorAgeFilesLines
* Inline code comments for class_eval/module_eval [#1657 state:resolved]Xavier Noria2008-12-281-28/+30
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add Memoizable#flush_cache to clear the cache of a specific method [#1505 ↵Joshua Peek2008-12-031-16/+28
| | | | state:resolved]
* Fix memoize_all for methods with punctuation [#1175 state:resolved]Eugene Pimenov2008-10-051-3/+7
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Check whether memoized ivar is initializedJeremy Kemper2008-09-081-1/+1
|
* Ensure results returned by a memoized method are immutableJoshua Peek2008-08-131-2/+2
|
* memoize_ and unmemoize_allJeremy Kemper2008-08-131-18/+33
|
* Freeze memoized results when instance is frozen instead of immediately so ↵Jeremy Kemper2008-08-071-3/+3
| | | | you can memoize mutable objects
* Fixed memoize with punctuation and freezing memoized methods with argumentsJeremy Kemper2008-08-071-4/+11
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Optimize memoized method if there are no argumentsJoshua Peek2008-08-061-7/+17
|
* Don't rememoize if already frozenJeremy Kemper2008-07-281-4/+3
|
* Improved Memoizable test coverage and added support for multiple argumentsJoshua Peek2008-07-221-22/+33
|
* Ruby 1.9: Ensure Memoizable#freeze is only overriden once to avoid an ↵Joshua Peek2008-07-181-14/+12
| | | | endless loop
* Changed ActiveSupport::Memoizable API to extend since it mainly adds the ↵Joshua Peek2008-07-181-27/+28
| | | | memoize class method
* Allow memoized methods to be reloaded and allow multiple symbolsJoshua Peek2008-07-181-15/+17
|
* Append a "_" to memoized instance variablesJoshua Peek2008-07-141-3/+4
|
* Some performance tweaks to ActiveSupport::MemoizableTarmo Tänav2008-07-141-2/+4
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* memorize typoJoshua Peek2008-07-141-3/+3
|
* Added Memoizable mixin for caching simple lazy loaded attributesJoshua Peek2008-07-141-0/+32