aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/string/interpolation.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-11-09 12:00:08 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2009-11-09 12:00:08 -0800
commit3b0b6dfc86ba87145be28eca2c1b0500caca4f37 (patch)
treec458d83367977bdccfadc4d417ad1e5b3c415b0c /activesupport/lib/active_support/core_ext/string/interpolation.rb
parentc74cddc9197d03ca641bf35d102199cabf1b9866 (diff)
parent0f1da1cb5cfac1343958daef4c5e7c37a9ce0da3 (diff)
downloadrails-3b0b6dfc86ba87145be28eca2c1b0500caca4f37.tar.gz
rails-3b0b6dfc86ba87145be28eca2c1b0500caca4f37.tar.bz2
rails-3b0b6dfc86ba87145be28eca2c1b0500caca4f37.zip
Merge branch 'master' of github.com:rails/rails
Diffstat (limited to 'activesupport/lib/active_support/core_ext/string/interpolation.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/string/interpolation.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/interpolation.rb b/activesupport/lib/active_support/core_ext/string/interpolation.rb
index c4a5c0ca35..d9159b690a 100644
--- a/activesupport/lib/active_support/core_ext/string/interpolation.rb
+++ b/activesupport/lib/active_support/core_ext/string/interpolation.rb
@@ -5,7 +5,7 @@
You may redistribute it and/or modify it under the same license terms as Ruby.
=end
-if RUBY_VERSION < '1.9' && !"".respond_to?(:interpolate_without_ruby_19_syntax)
+if RUBY_VERSION < '1.9'
require 'active_support/core_ext/string/bytesize'
# KeyError is raised by String#% when the string contains a named placeholder