This project is archived and is in readonly mode.

Changeset [17d5cc12b9f8d0d78a081d231e7e0c5ec9df1104] by Sven Fuchs

July 18th, 2009 @ 07:27 PM

  • don't include String#% for Ruby 1.9
  • raise a KeyError exception for missing named interpolation args (like Ruby 1.9 does)
  • raise an ArgumentError when mixing named and unnamed placeholders (like Ruby 1.9 does)
  • improve docs and comply a bit more w/ Rails names/conventions

[#2870 state:committed]

Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...

Committed by Sven Fuchs

  • M activesupport/lib/active_support/core_ext/string/interpolation.rb
  • M activesupport/test/core_ext/string_ext_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>