This project is archived and is in readonly mode.

Changeset [935bd0fef8e26f4ec65fe411a1d29942493f8d46] by Manfred Stienstra

November 4th, 2009 @ 09:12 AM

Add ActiveSupport::Multibyte::Chars#limit.

The limit method limits the number of bytes in a string. Useful when the
storage space of the string is limited, for instance in a database column
definition.

Sharpen up the implementation of translate offset.

[#3192 state:committed] http://github.com/rails/rails/commit/935bd0fef8e26f4ec65fe411a1d299...

Committed by Manfred Stienstra

  • M activesupport/lib/active_support/multibyte/chars.rb
  • M activesupport/test/multibyte_chars_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>