David Heinemeier Hansson
|
fb2dd492d6
|
Fixed inflections of "index/indices" #1766 [damn_pepe@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1881 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-22 06:52:10 +00:00 |
|
Nicholas Seckar
|
42723e3a0c
|
Factor Fixnum and Bignum extensions into Integer class
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-19 12:58:01 +00:00 |
|
Nicholas Seckar
|
dba6b8b46f
|
Add ordinalize to Fixnum and Bignum instances
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1855 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-18 02:16:17 +00:00 |
|
David Heinemeier Hansson
|
305a5463bd
|
Added stripping of _id to String#humanize, so "employee_id" becomes "Employee" #1574 [Justin French]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1854 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-17 10:18:36 +00:00 |
|
David Heinemeier Hansson
|
33cf8f162e
|
Added Fixnum#ordinalize to turn 1.ordinalize to "1st", 3.ordinalize to "3rd", and 10.ordinalize to "10th" and so on #1724 [paul@cnt.org]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1852 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-17 10:02:23 +00:00 |
|
David Heinemeier Hansson
|
703ac4c5ac
|
Added more efficient implementation of the development mode reset of classes #1638 [Chris McGrath]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1761 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-07 14:48:16 +00:00 |
|
David Heinemeier Hansson
|
f4c579e92e
|
More inflector fixes #1608
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1699 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-05 07:44:46 +00:00 |
|
David Heinemeier Hansson
|
f5db702901
|
More inflector fixes #1599 [foamdino@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1662 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-04 15:15:13 +00:00 |
|
David Heinemeier Hansson
|
da4b15fe18
|
More inflectoring #1490
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-02 19:05:47 +00:00 |
|
David Heinemeier Hansson
|
c196db9527
|
Fixed photo/photos #1583
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1615 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-02 18:59:01 +00:00 |
|
David Heinemeier Hansson
|
64612db7cf
|
Added new rules to the Inflector to deal with more unusual plurals mouse/louse => mice/lice, information => information, ox => oxen #1571 [foamdino@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1582 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-01 16:57:58 +00:00 |
|
David Heinemeier Hansson
|
7e1d002673
|
Fixed memory leak with Object#remove_subclasses_of, which inflicted a Rails application running in development mode with a ~20KB leak per request #1289 [c.r.mcgrath@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1569 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-06-30 06:11:26 +00:00 |
|
David Heinemeier Hansson
|
a995f42be0
|
Added tests for whiny nil #1476 [court3nay/marcel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-06-25 11:15:38 +00:00 |
|
Jeremy Kemper
|
bb6b14b04f
|
Increased accuracy of 1.year by accounting for leap years. The time extensions are not meant to be super-precise but this seems worth it since otherwise you lose a lot of days doing 40.years.ago. Closes #1488 [tuxie@dekadance.se]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1499 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-06-24 20:42:16 +00:00 |
|
David Heinemeier Hansson
|
8e56f5ea3e
|
Improved performance of Routes generation by a factor of 5 #1434 [Nicholas Seckar] Added named routes (NEEDS BETTER DESCRIPTION) #1434 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1496 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-06-24 16:40:01 +00:00 |
|
David Heinemeier Hansson
|
6c8d354b8d
|
Added Fix/Bignum#multiple_of? which returns true on 14.multiple_of?(7) and false on 16.multiple_of?(7) #1464 [Thomas Fuchs] Added even? and odd? to work with Bignums in addition to Fixnums #1464 [Thomas Fuchs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1462 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-06-21 07:00:28 +00:00 |
|
David Heinemeier Hansson
|
9113aa2744
|
Forgot to actually add the whiny nil
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1455 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-06-20 11:15:46 +00:00 |
|
David Heinemeier Hansson
|
a3659d5835
|
Fixed Time#at_beginning_of_week returned the next Monday instead of the previous one when called on a Sunday #1403 [jean.helou@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1431 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-06-16 05:56:49 +00:00 |
|
David Heinemeier Hansson
|
8cc64e77cf
|
Needed for test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1335 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-20 07:06:36 +00:00 |
|
David Heinemeier Hansson
|
71b6f76543
|
Fixed the Inflector to underscore strings containing numbers, so Area51Controller becomes area51_controller #1176 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1330 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 19:15:30 +00:00 |
|
David Heinemeier Hansson
|
6375569484
|
Fixed that HashWithIndifferentAccess stringified all keys including symbols, ints, objects, and arrays #1162 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1329 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 19:13:30 +00:00 |
|
David Heinemeier Hansson
|
f9103e1fe2
|
Fixed Time#last_year to go back in time, not forward #1278 [fabien@odilat.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1319 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 17:36:25 +00:00 |
|
David Heinemeier Hansson
|
db2495cf7e
|
Fixed the pluralization of analysis to analyses #1295 [seattle@rootimage.msu.edu]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1314 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 17:10:20 +00:00 |
|
David Heinemeier Hansson
|
e84deb71d2
|
Fixed that Time.local(2005,12).months_since(1) would raise "ArgumentError: argument out of range" #1311 [jhahn@niveon.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1308 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 16:36:04 +00:00 |
|
David Heinemeier Hansson
|
14860ebe82
|
Added commented out tests for staying either singular or plural on inflection
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1252 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-30 08:39:28 +00:00 |
|
David Heinemeier Hansson
|
5cd021393c
|
Tests for AS
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-10 17:37:20 +00:00 |
|
David Heinemeier Hansson
|
87bed3af47
|
Fixed that in some circumstances controllers outside of modules may have hidden ones inside modules. For example, admin/content might have been hidden by /content. #1075 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-10 15:01:35 +00:00 |
|
David Heinemeier Hansson
|
38a0b5b427
|
Fixed inflection of perspectives and similar words #1045 [thijs@vandervossen.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-07 06:19:10 +00:00 |
|
David Heinemeier Hansson
|
d08271e62f
|
Added Fixnum#even? and Fixnum#odd?
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1094 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-05 16:54:17 +00:00 |
|
David Heinemeier Hansson
|
abfa14d825
|
Fixed Inflector.pluralize to handle capitalized words #932 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@998 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-26 13:20:47 +00:00 |
|
David Heinemeier Hansson
|
373adc7f86
|
Improved error reporting especially around never shallowing exceptions. Debugging helpers should be much easier now #980 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@985 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-23 11:53:40 +00:00 |
|
David Heinemeier Hansson
|
3697df1dd2
|
Improved error reporting especially around never shallowing exceptions. Debugging helpers should be much easier now #980 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@984 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-23 11:48:10 +00:00 |
|
David Heinemeier Hansson
|
5bca629000
|
Fixed tests for indifferent access
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@873 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-07 01:30:29 +00:00 |
|
David Heinemeier Hansson
|
71742114f8
|
Fixed Hash#indifferent_access to also deal with include? and fetch and nested hashes #726 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@872 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-07 01:21:58 +00:00 |
|
David Heinemeier Hansson
|
6cae2b7439
|
Added inflection rules for "sh" words, like "wish" and "fish" #755 [phillip@pjbsoftware.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@844 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-06 13:43:04 +00:00 |
|
David Heinemeier Hansson
|
e4106a580e
|
Fixed an exception when using Ajax based requests from Safari because Safari appends a \000 to the post body. Symbols can't have \000 in them so indifferent access would throw an exception in the constructor. Indifferent hashes now use strings internally instead. #746 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@827 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-03 22:55:14 +00:00 |
|
David Heinemeier Hansson
|
6d688aa20c
|
Added String#to_time and String#to_date for wrapping ParseDate
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-02 13:07:02 +00:00 |
|
David Heinemeier Hansson
|
f73f9e42f4
|
Made TimeZone even more delicious #709
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@787 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-24 11:56:09 +00:00 |
|
David Heinemeier Hansson
|
5d94fb33c6
|
Added year-based time calculations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@779 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-24 00:07:01 +00:00 |
|
David Heinemeier Hansson
|
85fa238bca
|
Moved over TimeZone test too
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@770 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 16:29:13 +00:00 |
|
David Heinemeier Hansson
|
cf659de141
|
Added Date::Conversions for getting dates in different convenient string representations and other objects
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@738 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-21 17:09:20 +00:00 |
|
David Heinemeier Hansson
|
8401218bec
|
Added Time::Conversions for getting times in different convenient string representations and other objects
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@737 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-21 17:02:08 +00:00 |
|
David Heinemeier Hansson
|
25f8a25c3e
|
Added next_week and made beginning_of_week be a Monday, not a Sunday
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@733 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-21 14:46:33 +00:00 |
|
David Heinemeier Hansson
|
637642c8b8
|
Treat UTC times nicer
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@732 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-21 14:32:55 +00:00 |
|
David Heinemeier Hansson
|
6ff54f70fd
|
Added Time::Calculations to ask for things like Time.now.tomorrow, Time.now.yesterday, Time.now.months_ago(4) #580 [DP|Flurin]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@731 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-21 14:18:54 +00:00 |
|
David Heinemeier Hansson
|
5fa66cd45c
|
Allows a loading module to load from multiple load paths #675
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@711 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-20 11:06:14 +00:00 |
|
David Heinemeier Hansson
|
dc3d6eb9b4
|
Moved Active Support into its own gem
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 15:57:44 +00:00 |
|
David Heinemeier Hansson
|
45caae41c3
|
Fixed all the tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@623 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 15:02:43 +00:00 |
|
David Heinemeier Hansson
|
d33b741621
|
Fix deprecated id error #588
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@622 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 13:49:15 +00:00 |
|
David Heinemeier Hansson
|
603ab7d812
|
Fixed Inflector for words like "news" and "series" that are the same in plural and singular #603 [echion], #615 [marcenuc]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@618 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 02:02:20 +00:00 |
|