diff options
author | Noemj <olli.rissanen@helsinki.fi> | 2013-04-11 19:11:33 +0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-04-11 13:19:49 -0300 |
commit | dab82332c8866b967d1189c14aa0edc0a9fd09ae (patch) | |
tree | b11e6ea6763b2d7d700f5822c89c52d45b5d1581 /activerecord/lib/active_record/statement_cache.rb | |
parent | 53d6cc04e73d5e9a0ec334bdfdce8f272005564f (diff) | |
download | rails-dab82332c8866b967d1189c14aa0edc0a9fd09ae.tar.gz rails-dab82332c8866b967d1189c14aa0edc0a9fd09ae.tar.bz2 rails-dab82332c8866b967d1189c14aa0edc0a9fd09ae.zip |
Switched to new naming conventions
[ci skip]
Diffstat (limited to 'activerecord/lib/active_record/statement_cache.rb')
-rw-r--r-- | activerecord/lib/active_record/statement_cache.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/statement_cache.rb b/activerecord/lib/active_record/statement_cache.rb index 4a8c54414d..8c4b4f666b 100644 --- a/activerecord/lib/active_record/statement_cache.rb +++ b/activerecord/lib/active_record/statement_cache.rb @@ -4,7 +4,7 @@ module ActiveRecord # Initializing the cache is done by passing the statement in the initialization block: # # cache = ActiveRecord::StatementCache.new do - # Book.where(:name => "my book").limit(100) + # Book.where(name: "my book").limit(100) # end # # The cached statement is executed by using the +execute+ method: |