aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG
Commit message (Collapse)AuthorAgeFilesLines
* Made ready for releaseDavid Heinemeier Hansson2006-03-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4088 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add 1.0 marker to edge rails changelongsMarcel Molina2006-03-281-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4085 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dependencies cleanup. Fixes #4221.Nicholas Seckar2006-03-271-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4060 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add CachingTools::HashCaching to simplify the creation of nested, ↵Nicholas Seckar2006-03-271-0/+2
| | | | | | autofilling hashes. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4059 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove broken hack which has no effect.Nicholas Seckar2006-03-261-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4050 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update Object.subclasses_of to locate nested classes. Update ↵Nicholas Seckar2006-03-261-0/+4
| | | | | | Object.remove_subclasses_of to use Class.remove_class. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4049 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Fixnum#seconds for consistency, so you can say 5.minutes + 30.seconds ↵David Heinemeier Hansson2006-03-251-0/+2
| | | | | | 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
* Rolled back #2176 because it destroyed performance [DHH]David Heinemeier Hansson2006-03-201-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3988 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added option to String#camelize to generate lower-cased camel case by ↵David Heinemeier Hansson2006-03-201-0/+2
| | | | | | 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
* Added nicer message for assert_redirected_to (closes #4294) [court3nay, ↵Rick Olson2006-03-191-0/+2
| | | | | | Chris McGrath] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3969 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed HashWithIndifferentAccess#delete to work with both symbols and strings ↵David Heinemeier Hansson2006-03-181-0/+2
| | | | | | (closes #2176) [Caio Chassot] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3912 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Time#advance to do precise time time calculations for cases where a ↵David Heinemeier Hansson2006-03-161-0/+2
| | | | | | 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
* Enhance Inflector.underscore to convert '-' into '_' (as the inverse of ↵Jamis Buck2006-03-151-0/+2
| | | | | | Inflector.dasherize) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3877 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Switch to_xml to use the date formate defined in xml schema.[Koz]Michael Koziarski2006-03-151-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3869 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed to_xml across the board to use nice indention, better skip_attributes ↵David Heinemeier Hansson2006-03-091-2/+2
| | | | | | 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
* Added a note to the documentation for the Date related Numeric extensions to ↵Michael Koziarski2006-03-091-0/+3
| | | | | | | | | 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
* Added Hash#to_xml and Array#to_xml that makes it much easier to produce XML ↵David Heinemeier Hansson2006-03-081-0/+15
| | | | | | 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
* Fixed that Array#to_sentence will return "" on an empty array instead of ", ↵David Heinemeier Hansson2006-03-021-0/+2
| | | | | | and" (closes #3842, #4031) [rubyonrails@beautifulpixel.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3739 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Enumerable#group_by and Array#in_groups_ofMarcel Molina2006-03-011-0/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3726 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Kernel#daemonize to turn the current process into a daemon that can be ↵David Heinemeier Hansson2006-03-011-0/+2
| | | | | | 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
* Add around methods to Logger. Closes #3809Michael Koziarski2006-02-261-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3670 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Time#beginning_of_quarter (closes #3607) [cohen.jeff@gmail.com]David Heinemeier Hansson2006-02-261-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3659 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix Object.subclasses_of to only return currently defined objects (closes ↵David Heinemeier Hansson2006-02-191-0/+2
| | | | | | #3882) [Jonathan Viney <jonathan@bluewire.net.nz>] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3607 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix constantize to handle names beginning with '::'. Closes #3803.Nicholas Seckar2006-02-111-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3571 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A more aesthetically pleasing implementation and changelog entryScott Barron2006-02-081-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3549 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added delegation support to Module that allows multiple delegations at once ↵David Heinemeier Hansson2006-02-041-0/+11
| | | | | | (unlike Forwardable in the stdlib) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3535 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Just go with Subclasses instead of OnlySubclassesDavid Heinemeier Hansson2006-02-041-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3534 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix Reloadable to handle the case where a class that has been 'removed' has ↵Nicholas Seckar2006-02-041-0/+2
| | | | | | not yet been garbage collected. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3528 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't allow Reloadable to be included into ModulesNicholas Seckar2006-02-031-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3527 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove LoadingModuleNicholas Seckar2006-02-031-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reloadable::OnlySubclassesNicholas Seckar2006-02-021-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3522 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Reloadable::OnlySubclasses which handles the common case where a base ↵Nicholas Seckar2006-02-021-0/+2
| | | | | | 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
* Further improvements to reloading codeNicholas Seckar2006-02-021-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3519 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added reusable reloading support through the inclusion of the Relodable ↵David Heinemeier Hansson2006-01-291-0/+10
| | | | | | 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
* Add Object#instance_exec and Proc#bindSam Stephenson2006-01-231-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3469 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix merge and dup for hashes with indifferent access (closes #3404) ↵David Heinemeier Hansson2006-01-231-0/+2
| | | | | | [kenneth.miller@bitfield.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3468 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix the requires in option_merger_test to unbreak AS testsSam Stephenson2006-01-211-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3458 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make HashWithIndifferentAccess#update behave like Hash#update by returning ↵Marcel Molina2006-01-081-0/+2
| | | | | | the hash. Closes #3419, #3425 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3388 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add ActiveSupport::JSON and Object#to_json for converting Ruby objects to ↵Sam Stephenson2005-12-271-0/+2
| | | | | | JSON strings git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3356 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Object#with_options for DRYing up multiple calls to methods having ↵Sam Stephenson2005-12-151-0/+11
| | | | | | shared options git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3314 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce Dependencies.warnings_on_first_load setting. If true, enables ↵Jeremy Kemper2005-11-241-0/+2
| | | | | | warnings on first load of a require_dependency. Otherwise, loads without warnings. Disabled (set to false) by default. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3190 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Enable warnings on first load only. File which are loaded but raise an ↵Jeremy Kemper2005-11-231-1/+1
| | | | | | exception are not added to loaded set. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3169 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3241@asus: jeremy | 2005-11-20 23:26:28 -0800Jeremy Kemper2005-11-211-0/+2
| | | | | | | Active Support is warnings-safe. References #1792. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3240@asus: jeremy | 2005-11-20 23:22:34 -0800Jeremy Kemper2005-11-211-1/+1
| | | | | | | Introduce enable_warnings counterpart to silence_warnings. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Turn warnings on when loading a file if Dependencies.mechanism == :load. ↵Jeremy Kemper2005-11-211-0/+2
| | | | | | Common mistakes such as redefined methods will print warnings to stderr. References #752. References #1792. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3124 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pull out Array#to_strings in favor of more general Symbol#to_proc.Marcel Molina2005-11-211-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Symbol#to_proc, which allows for, e.g. [:foo, :bar].map(&:to_s).Marcel Molina2005-11-211-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Array#to_strings which to_s's all elements in an array.Marcel Molina2005-11-201-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3114 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add extended_by, extend_with_included_modules_from and ↵Marcel Molina2005-11-201-0/+5
| | | | | | copy_instance_variables_from to Object. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rename Version constant to VERSION. Closes #2802.Marcel Molina2005-11-171-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de