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 |
|
Nicholas Seckar
|
62aa0603b7
|
Don't allow Reloadable to be included into Modules
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3527 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-03 22:36:44 +00:00 |
|
Nicholas Seckar
|
ad9cabd77c
|
Remove LoadingModule
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-03 20:29:39 +00:00 |
|
Nicholas Seckar
|
6d7b0374d1
|
Add LoadingModule.clear! back temporarily
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3524 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-02 16:56:15 +00:00 |
|
Nicholas Seckar
|
52b04e8e74
|
Reloadable::OnlySubclasses
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3522 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-02 06:11:37 +00:00 |
|
Nicholas Seckar
|
1bce58b312
|
Add Reloadable::OnlySubclasses which handles the common case where a base class should not be reloaded, but its subclasses should be.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3521 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-02 05:41:00 +00:00 |
|
Nicholas Seckar
|
7a43a05a2b
|
Further improvements to reloading code
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3519 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-02 04:54:07 +00:00 |
|
David Heinemeier Hansson
|
01b1a87729
|
Added reusable reloading support through the inclusion of the Relodable module that all subclasses of ActiveRecord::Base, ActiveRecord::Observer, ActiveController::Base, and ActionMailer::Base automatically gets [DHH]. Added auto-loading support for classes in modules, so Conductor::Migration will look for conductor/migration.rb and Conductor::Database::Settings will look for conductor/database/settings.rb [Nicholas Seckar]. Refactored extensions to module, class, and object in active support [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-29 00:37:39 +00:00 |
|
Sam Stephenson
|
d921b79974
|
Add Object#instance_exec and Proc#bind
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3469 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-23 06:40:43 +00:00 |
|
David Heinemeier Hansson
|
9c24899ab0
|
Fix merge and dup for hashes with indifferent access (closes #3404) [kenneth.miller@bitfield.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3468 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-23 05:38:02 +00:00 |
|
Sam Stephenson
|
039a90f535
|
Fix the requires in option_merger_test to unbreak AS tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3458 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-21 23:52:40 +00:00 |
|
Marcel Molina
|
36fc181a57
|
Make HashWithIndifferentAccess#update behave like Hash#update by returning the hash. Closes #3419, #3425
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3388 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-08 21:29:47 +00:00 |
|
Sam Stephenson
|
e567a5eb1a
|
Add ActiveSupport::JSON and Object#to_json for converting Ruby objects to JSON strings
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3356 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-12-27 03:11:03 +00:00 |
|
Sam Stephenson
|
85fe1ecaef
|
Add Object#with_options for DRYing up multiple calls to methods having shared options
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3314 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-12-15 20:03:23 +00:00 |
|
Jeremy Kemper
|
e47c8381e1
|
Handle mutual dependencies with .rb suffix.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3193 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-28 20:39:26 +00:00 |
|