diff options
author | Ben Woosley <ben.woosley@gmail.com> | 2013-05-10 20:35:59 +0200 |
---|---|---|
committer | Ben Woosley <ben.woosley@gmail.com> | 2013-05-10 20:35:59 +0200 |
commit | 86cc141ed5fd51ec752c956febfa436d1c816532 (patch) | |
tree | 34353bb688c8622241ee4a8c218f3ebde2870ddc | |
parent | 48783ee7fc9eaf2ae19f74f103fbdeb8bad93f58 (diff) | |
download | rails-86cc141ed5fd51ec752c956febfa436d1c816532.tar.gz rails-86cc141ed5fd51ec752c956febfa436d1c816532.tar.bz2 rails-86cc141ed5fd51ec752c956febfa436d1c816532.zip |
No point in memoizing a simple literal string.
-rw-r--r-- | activerecord/lib/active_record/null_relation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/null_relation.rb b/activerecord/lib/active_record/null_relation.rb index 711fc8b883..5d801fa705 100644 --- a/activerecord/lib/active_record/null_relation.rb +++ b/activerecord/lib/active_record/null_relation.rb @@ -39,7 +39,7 @@ module ActiveRecord end def to_sql - @to_sql ||= "" + "" end def where_values_hash |