From b0662108231f6d6a22e2be9ab2555706e481f327 Mon Sep 17 00:00:00 2001 From: Hendy Tanata Date: Mon, 3 Dec 2012 12:37:45 +0800 Subject: Fix typo. --- activerecord/lib/active_record/query_cache.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/query_cache.rb b/activerecord/lib/active_record/query_cache.rb index 2cf75bcfc4..df8654e5c1 100644 --- a/activerecord/lib/active_record/query_cache.rb +++ b/activerecord/lib/active_record/query_cache.rb @@ -4,7 +4,7 @@ module ActiveRecord class QueryCache module ClassMethods # Enable the query cache within the block if Active Record is configured. - # If it's not, it willl execute the given block. + # If it's not, it will execute the given block. def cache(&block) if ActiveRecord::Base.connected? connection.cache(&block) @@ -14,7 +14,7 @@ module ActiveRecord end # Disable the query cache within the block if Active Record is configured. - # If it's not, it willl execute the given block. + # If it's not, it will execute the given block. def uncached(&block) if ActiveRecord::Base.connected? connection.uncached(&block) -- cgit v1.2.3