diff options
author | Hendy Tanata <htanata@gmail.com> | 2012-12-03 12:37:45 +0800 |
---|---|---|
committer | Hendy Tanata <htanata@gmail.com> | 2012-12-03 12:37:45 +0800 |
commit | b0662108231f6d6a22e2be9ab2555706e481f327 (patch) | |
tree | 1be0f5a1aad06552d17f90ab54316b6456dad413 /activerecord/lib/active_record | |
parent | 0a178000f5394c08e32346f42b05b17451ce4e42 (diff) | |
download | rails-b0662108231f6d6a22e2be9ab2555706e481f327.tar.gz rails-b0662108231f6d6a22e2be9ab2555706e481f327.tar.bz2 rails-b0662108231f6d6a22e2be9ab2555706e481f327.zip |
Fix typo.
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/query_cache.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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) |