aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-09-03 07:11:47 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-09-03 07:11:47 +0000
commit1e145099a78688d25f2cfcafe58afbd651bf7be4 (patch)
tree287ad1369fc08c1f8d17cb537b8be6a23fba5906 /activesupport/CHANGELOG
parent89550ee7e90fa824c99cf4882426d9a5269d0d64 (diff)
downloadrails-1e145099a78688d25f2cfcafe58afbd651bf7be4.tar.gz
rails-1e145099a78688d25f2cfcafe58afbd651bf7be4.tar.bz2
rails-1e145099a78688d25f2cfcafe58afbd651bf7be4.zip
Added String#at, String#from, String#to, String#first, String#last in ActiveSupport::CoreExtensions::String::Access to ease access to individual characters and substrings in a string serving basically as human names for range access. Added easy extendability to the inflector through Inflector.inflections (using the Inflector::Inflections singleton class)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/CHANGELOG')
-rw-r--r--activesupport/CHANGELOG13
1 files changed, 13 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG b/activesupport/CHANGELOG
index 331dff24cf..99cbafe0a6 100644
--- a/activesupport/CHANGELOG
+++ b/activesupport/CHANGELOG
@@ -1,5 +1,18 @@
*SVN*
+* Added easy extendability to the inflector through Inflector.inflections (using the Inflector::Inflections singleton class). Examples:
+
+ Inflector.inflections do |inflect|
+ inflect.plural /^(ox)$/i, '\1\2en'
+ inflect.singular /^(ox)en/i, '\1'
+
+ inflect.irregular 'octopus', 'octopi'
+
+ inflect.uncountable "equipment"
+ end
+
+* Added String#at, String#from, String#to, String#first, String#last in ActiveSupport::CoreExtensions::String::Access to ease access to individual characters and substrings in a string serving basically as human names for range access.
+
* Make Time#last_month work when invoked on the 31st of a month.
* Add Time.days_in_month, and make Time#next_month work when invoked on the 31st of a month