aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-06-16 07:46:34 -0300
committerJosé Valim <jose.valim@gmail.com>2011-06-16 07:47:01 -0300
commit8775ffa37231d381cba34f0ecacb8a7bbcf0573f (patch)
tree081b4735dd43716d7c87377c9b87dbff26c8856f /activesupport
parent43ed24e23bd9d8dca48af6a5aece5da1b09e6fa2 (diff)
downloadrails-8775ffa37231d381cba34f0ecacb8a7bbcf0573f.tar.gz
rails-8775ffa37231d381cba34f0ecacb8a7bbcf0573f.tar.bz2
rails-8775ffa37231d381cba34f0ecacb8a7bbcf0573f.zip
Update CHANGELOG, improve message.
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/CHANGELOG4
-rw-r--r--activesupport/lib/active_support/memoizable.rb2
2 files changed, 4 insertions, 2 deletions
diff --git a/activesupport/CHANGELOG b/activesupport/CHANGELOG
index 0097a51a7c..23f25d6197 100644
--- a/activesupport/CHANGELOG
+++ b/activesupport/CHANGELOG
@@ -1,10 +1,12 @@
*Rails 3.2.0 (unreleased)*
+* Deprecated ActiveSupport::Memoizable in favor of Ruby memoization pattern [José Valim]
+
* Added Time#all_day/week/quarter/year as a way of generating ranges (example: Event.where(created_at: Time.now.all_week)) [DHH]
* Added instance_accessor: false as an option to Class#cattr_accessor and friends [DHH]
-* Removed ActiveSupport::SecureRandom in favour of SecureRandom from the standard library [Jon Leighton]
+* Removed ActiveSupport::SecureRandom in favor of SecureRandom from the standard library [Jon Leighton]
* ActiveSupport::OrderedHash now has different behavior for #each and
#each_pair when given a block accepting its parameters with a splat. [Andrew Radev]
diff --git a/activesupport/lib/active_support/memoizable.rb b/activesupport/lib/active_support/memoizable.rb
index 363d799587..4c67676ad5 100644
--- a/activesupport/lib/active_support/memoizable.rb
+++ b/activesupport/lib/active_support/memoizable.rb
@@ -6,7 +6,7 @@ module ActiveSupport
module Memoizable
def self.extended(base)
ActiveSupport::Deprecation.warn "ActiveSupport::Memoizable is deprecated and will be removed in future releases," \
- "simply use Ruby instead.", caller
+ "simply use Ruby memoization pattern instead.", caller
super
end