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
|
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
|
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
|
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
|
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
|
83c3f6f81a
|
Added Hash#stringify_keys and Hash#stringify_keys!
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@586 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-12 20:10:10 +00:00 |
|
David Heinemeier Hansson
|
2c110b825e
|
Added IndifferentAccess as a way to wrap a hash by a symbol-based store that also can be accessed by string keys
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@581 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-11 13:05:38 +00:00 |
|
David Heinemeier Hansson
|
c37e8d365b
|
Added methods for removing subclasses -- couldnt make it work with the regular nested-module approach (ObjectSpace was being difficult), so this is a straight inclusion
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@506 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-25 17:55:55 +00:00 |
|
David Heinemeier Hansson
|
31901a5939
|
Fixed errors thrown to namespace collision
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@421 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-15 18:28:10 +00:00 |
|
David Heinemeier Hansson
|
a66b321bb0
|
Added the meat for String inflection
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@414 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-15 16:48:12 +00:00 |
|
David Heinemeier Hansson
|
1497522ab0
|
Fixed the half applied 393 changeset
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@395 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 22:06:05 +00:00 |
|
David Heinemeier Hansson
|
876a1a1fa3
|
Added Byte operations to Numeric, so 5.5.megabytes + 200.kilobytes #461 [Marcel Molina]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@393 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 21:37:02 +00:00 |
|
David Heinemeier Hansson
|
14ed815b1c
|
Added Fixnum#ago/until, Fixnum#since/from_now #450 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@371 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 22:49:45 +00:00 |
|
David Heinemeier Hansson
|
38e55bac61
|
Added time unit extensions to Fixnum that'll return the period in seconds, like 2.days + 4.hours
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 13:14:50 +00:00 |
|
David Heinemeier Hansson
|
f626aece79
|
Added the first of the coming core extensions
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@349 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 15:00:45 +00:00 |
|