aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2012-06-05 07:10:57 +0900
committerAkira Matsuda <ronnie@dio.jp>2012-06-06 23:33:31 +0900
commitef9bbb87e8228940f768580a7d05d5feadec0d1e (patch)
tree0748fc74fcd2ec17c55b385db5920901f90839b0 /activerecord/lib/active_record
parent2635a29fec043076427d9fd19c330d2bcf7ab55d (diff)
downloadrails-ef9bbb87e8228940f768580a7d05d5feadec0d1e.tar.gz
rails-ef9bbb87e8228940f768580a7d05d5feadec0d1e.tar.bz2
rails-ef9bbb87e8228940f768580a7d05d5feadec0d1e.zip
reduce number of Strings
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/schema_dumper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/schema_dumper.rb b/activerecord/lib/active_record/schema_dumper.rb
index 7cbe2db408..1cdaa516ba 100644
--- a/activerecord/lib/active_record/schema_dumper.rb
+++ b/activerecord/lib/active_record/schema_dumper.rb
@@ -175,7 +175,7 @@ HEADER
when BigDecimal
value.to_s
when Date, DateTime, Time
- "'" + value.to_s(:db) + "'"
+ "'#{value.to_s(:db)}'"
else
value.inspect
end