David Heinemeier Hansson
|
6247689e59
|
Added Fixnum#seconds for consistency, so you can say 5.minutes + 30.seconds instead of 5.minutes + 30 (closes #4389) [Francois Beausoleil]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4029 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-25 21:43:46 +00:00 |
|
David Heinemeier Hansson
|
d15550aecc
|
Fixed the hash.delete :sym (closes #2176) [Stefan Kaes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4005 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-20 18:53:52 +00:00 |
|
David Heinemeier Hansson
|
eedd9d7604
|
Updated Kernel#returning for the AP performance patch [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3991 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-20 04:37:32 +00:00 |
|
David Heinemeier Hansson
|
d19e8f412f
|
Performance speedup for ActionController (closes #4174) [Stefan Kaes] Includes caching of filter chains -- be on the lookout for problems with that!
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3989 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-20 04:01:10 +00:00 |
|
David Heinemeier Hansson
|
324ece25e9
|
Rolled back #2176 because it destroyed performance [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3988 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-20 03:57:13 +00:00 |
|
Rick Olson
|
afde9943ea
|
fix indifferent hash. The lambdas were acting funny in a running rails app. closes #2176
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3987 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-20 03:39:46 +00:00 |
|
David Heinemeier Hansson
|
4e7c6f58fb
|
Added option to String#camelize to generate lower-cased camel case by passing in :lower, like "super_man".camelize(:lower) # => "superMan" [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3986 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-20 03:32:28 +00:00 |
|
Rick Olson
|
891a962a19
|
Added nicer message for assert_redirected_to (closes #4294) [court3nay, Chris McGrath]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3969 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-19 03:50:14 +00:00 |
|
David Heinemeier Hansson
|
eba58b2c12
|
Date in iso8601 should just be a to_s alias
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3952 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 21:46:49 +00:00 |
|
David Heinemeier Hansson
|
2de765e850
|
Dates should be able to go xmlschema too [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3950 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 21:37:10 +00:00 |
|
David Heinemeier Hansson
|
8b8a30dd0a
|
Fixed the to_xml case (closes #4201) [twoggle@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3925 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 15:28:46 +00:00 |
|
David Heinemeier Hansson
|
504ab568f8
|
Fixed HashWithIndifferentAccess#delete to work with both symbols and strings (closes #2176) [Caio Chassot]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3912 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 04:01:44 +00:00 |
|
Jamis Buck
|
795c71f2ee
|
dasherize the root element when doing to_xml
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3901 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-16 20:30:01 +00:00 |
|
David Heinemeier Hansson
|
c3c69d9062
|
Added Time#advance to do precise time time calculations for cases where a month being approximated to 30 days won't do (closes #1860) [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3887 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-16 03:04:00 +00:00 |
|
Michael Koziarski
|
bf39c39d88
|
Time#xmlschema is only available when you've required 'time'. Add a unit test to catch regressions. [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3880 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-15 23:15:29 +00:00 |
|
Jamis Buck
|
6c95e9b146
|
Enhance Inflector.underscore to convert '-' into '_' (as the inverse of Inflector.dasherize)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3877 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-15 21:05:10 +00:00 |
|
Michael Koziarski
|
9de81036dd
|
Switch to_xml to use the date formate defined in xml schema.[Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3869 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-15 02:15:01 +00:00 |
|
David Heinemeier Hansson
|
ffec8c6b00
|
tag! is nicer than __send__
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3833 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-10 04:37:27 +00:00 |
|
David Heinemeier Hansson
|
0c6d178552
|
Implemented nested to_xml and named elements for array xmling [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3830 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-09 23:35:43 +00:00 |
|
David Heinemeier Hansson
|
d872281975
|
Fixed to_xml across the board to use nice indention, better skip_attributes workings, no type on strings, and cleaned tests [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3829 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-09 21:12:28 +00:00 |
|
Michael Koziarski
|
43398433e9
|
Added a note to the documentation for the Date related Numeric extensions to indicate that they're
approximations and shouldn't be used for critical calculations. [Koz]. Closes #4148. References #4146
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3821 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-09 07:37:51 +00:00 |
|
Rick Olson
|
47ffc04621
|
move vendor inside lib so that rake freeze_edge works
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3818 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-08 16:54:57 +00:00 |
|
Tobias Lütke
|
8b4729a0eb
|
reverted #to_sentence to use red, green, and blue style
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3816 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-08 16:13:13 +00:00 |
|
David Heinemeier Hansson
|
cd989472a5
|
Added Hash#to_xml and Array#to_xml that makes it much easier to produce XML from basic structures [DHH] Moved Jim Weirich's wonderful Builder from Action Pack to Active Support (it's simply too useful to be stuck in AP) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-08 02:56:25 +00:00 |
|
Tobias Lütke
|
0332d882b6
|
forgot to commit the fixed test case! (yea right)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3803 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-06 22:51:24 +00:00 |
|
Tobias Lütke
|
66386df3d9
|
changed default of Array#to_sentence to use one, two and three notation ( skip_last_comma => true )
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3802 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-06 22:36:37 +00:00 |
|
David Heinemeier Hansson
|
eb01d35109
|
Added socket cleanup for lighttpd, both before and after [DHH] Added automatic creation of tmp/ when running script/server [DHH] Added silence_stream that'll work on both STDERR or STDOUT or any other stream and deprecated silence_stderr in the process [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3761 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-04 19:39:26 +00:00 |
|
David Heinemeier Hansson
|
2e67f1adc8
|
RJS now does enumerations, baby! (closes #3876) [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3754 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-03 19:34:23 +00:00 |
|
David Heinemeier Hansson
|
4c5db2c7ea
|
Fixed that Array#to_sentence will return "" on an empty array instead of ", and" (closes #3842, #4031) [rubyonrails@beautifulpixel.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3739 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-02 01:51:52 +00:00 |
|
Marcel Molina
|
0d92ce59ff
|
Make Enumerable#group_by return a Hash (sacrificing the preservation of ordering) so that it is more compatible with the version that is in Ruby 1.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3727 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-01 21:12:18 +00:00 |
|
Marcel Molina
|
1fdf578c17
|
Add Enumerable#group_by and Array#in_groups_of
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3726 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-01 20:32:10 +00:00 |
|
David Heinemeier Hansson
|
0fa127870c
|
Have to use inheritance
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-01 04:07:04 +00:00 |
|
David Heinemeier Hansson
|
420ffb79e3
|
Added Kernel#daemonize to turn the current process into a daemon that can be killed with a TERM signal [DHH] Refactored stuff lingering in kernel.rb to the appropriate places
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3714 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-01 03:53:54 +00:00 |
|
Michael Koziarski
|
3cfbb4f374
|
Add around methods to Logger. Closes #3809
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3670 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-26 19:48:33 +00:00 |
|
Nicholas Seckar
|
26eaf073c4
|
Remove ::Controllers related cruft; fix AP tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-26 17:49:09 +00:00 |
|
David Heinemeier Hansson
|
e57bd727df
|
Added Time#beginning_of_quarter (closes #3607) [cohen.jeff@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3659 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-26 00:46:18 +00:00 |
|
David Heinemeier Hansson
|
ab7c7a8edd
|
Fixed rdoc.options use all over (closes #3639) [andy@tinnedfruit.org]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-26 00:04:04 +00:00 |
|
David Heinemeier Hansson
|
99307b959b
|
Added calculations: Base.count, Base.average, Base.sum, Base.minimum, Base.maxmium, and the generic Base.calculate. All can be used with :group and :having. Calculations and statitics need no longer require custom SQL. #3958 [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3646 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-25 23:06:04 +00:00 |
|
David Heinemeier Hansson
|
9723d03531
|
Fix Object.subclasses_of to only return currently defined objects (closes #3882) [Jonathan Viney <jonathan@bluewire.net.nz>]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3607 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-19 01:05:55 +00:00 |
|
Nicholas Seckar
|
91cdd59b12
|
Fix constantize to handle names beginning with '::'. Closes #3803.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3571 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-11 18:41:59 +00:00 |
|
Jeremy Kemper
|
7654082260
|
Major components cleanup and speedup. Closes #3527.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-09 20:05:11 +00:00 |
|
Scott Barron
|
a447e82de4
|
A more aesthetically pleasing implementation and changelog entry
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3549 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-08 03:43:38 +00:00 |
|
Scott Barron
|
2d7309388d
|
Make String#last behave more like Array#last, i.e.
"f".last(3) => "f" not
"f".last(3) => nil
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3548 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-08 00:49:41 +00:00 |
|
David Heinemeier Hansson
|
0633bb865b
|
Update versions to match latest from stable
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3543 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-05 00:59:57 +00:00 |
|
Tobias Lütke
|
6fa5b7b304
|
added some (pointless) test cases to dependency loading, the more the merrier
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3537 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-04 21:24:40 +00:00 |
|
David Heinemeier Hansson
|
2ee6229bd8
|
Added delegation support to Module that allows multiple delegations at once (unlike Forwardable in the stdlib) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3535 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-04 19:14:53 +00:00 |
|
David Heinemeier Hansson
|
5cbc062c8a
|
Just go with Subclasses instead of OnlySubclasses
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3534 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-04 16:26:55 +00:00 |
|
David Heinemeier Hansson
|
ed080863d5
|
Just go with Subclasses instead of OnlySubclasses
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3533 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-04 06:11:42 +00:00 |
|
David Heinemeier Hansson
|
a6a683b0bb
|
Fixed Class.remove to not blow up on inheritance
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3532 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-04 06:01:28 +00:00 |
|
Nicholas Seckar
|
1aaeb2113b
|
Fix Reloadable to handle the case where a class that has been 'removed' has not yet been garbage collected.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3528 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-04 04:50:53 +00:00 |
|