aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't undefine #class in OptionMerger [Rick]Rick Olson2006-09-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* deprecation_method_warning and deprecation_horizon - fewer moving parts, ↵Jeremy Kemper2006-09-221-1/+9
| | | | | | easy to localize git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5161 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Hash.create_from_xml has been renamed to Hash.from_xml, alias will exist ↵David Heinemeier Hansson2006-09-201-2/+7
| | | | | | until Rails 2.0 [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* assert_deprecated returns result of blockJeremy Kemper2006-09-151-4/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* assert_deprecated matches any warning caught in blockJeremy Kemper2006-09-151-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5114 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* alias_method_chain yields method target and punctuation to simplify wrapper ↵Jeremy Kemper2006-09-152-7/+9
| | | | | | method definition. Used by the deprecate module method. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* alias_method_chain works with accessor= methods also. Closes #6153.Jeremy Kemper2006-09-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5091 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix loadable_constants_for_path to handle load paths that do not end with a ↵Nicholas Seckar2006-09-061-8/+7
| | | | | | slash. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix logic error in determining what was loaded by a given file. Closes #6039.Nicholas Seckar2006-09-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5035 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Equate Kernel.const_missing with Object.const_missing. Fixes #5988.Nicholas Seckar2006-09-051-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5023 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* quell warningsJeremy Kemper2006-09-042-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4982 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* silenced writerJeremy Kemper2006-09-041-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4978 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* set ActiveSupport::Deprecation.debug = true to see backtraces for ↵Jeremy Kemper2006-09-041-4/+15
| | | | | | deprecation callers. off by default. on for Rails tests. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4964 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Quiet while testing, you.Jeremy Kemper2006-09-041-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4961 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* get deprecation methods and callers straightJeremy Kemper2006-09-041-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added deprecation language for in_place_editor and auto_complete_field that ↵David Heinemeier Hansson2006-09-031-2/+2
| | | | | | both pieces will become plugins by Rails 2.0 [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4952 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More deprecation funDavid Heinemeier Hansson2006-09-031-3/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4943 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* If not running in Rails, we will log deprecations to $stderrDavid Heinemeier Hansson2006-09-031-2/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4939 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Modules can deprecate stuff tooDavid Heinemeier Hansson2006-09-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4936 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Stress that 2.0 is the cut and that we will have a page listing deprecationsDavid Heinemeier Hansson2006-09-031-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4927 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made it clear that deprecated stuff leaves on majors onlyDavid Heinemeier Hansson2006-09-031-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4926 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add ApplicationController special case to Dependencies.Nicholas Seckar2006-09-021-2/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4910 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't pad remaining places with in_groups_of if specified padding value is ↵Marcel Molina2006-09-021-2/+11
| | | | | | false. [Marcel Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4900 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix cases where empty xml nodes weren't being translated to nil in ↵Rick Olson2006-09-011-1/+1
| | | | | | Hash.create_from_xml [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4895 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tighten rescue clauses. Closes #5985.Jeremy Kemper2006-08-311-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Inflections: don't singularize -ies plurals.Jeremy Kemper2006-08-301-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4868 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Eliminate Active Support warnings.Jeremy Kemper2006-08-294-4/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update Initializer to use load_once_paths to avoid plugin reloading. ↵Nicholas Seckar2006-08-291-24/+43
| | | | | | | | | References #5852. Add Dependencies.load_once_paths. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use Array#assoc in ActiveSupport::OrderedHash.Jeremy Kemper2006-08-251-8/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4817 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Greatly increased performance of String.to_json, which speeds up RJS ↵Thomas Fuchs2006-08-181-16/+17
| | | | | | considerably on large pages, fixes #3473 [Shugo Maeda] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4787 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Widen too narrow rescueNicholas Seckar2006-08-171-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Detect missing_constants calls from removed modules and fail accordingly.Nicholas Seckar2006-08-171-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4780 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix const_missing to behave responsibly when called within anonymous modulesNicholas Seckar2006-08-161-1/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4779 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update require_dependency to return true or false as require does.Nicholas Seckar2006-08-161-4/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4778 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Stop using defined? in Dependencies.qualified_const_defined? since defined? ↵Nicholas Seckar2006-08-161-1/+11
| | | | | | may invoke const_missing. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4774 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dependencies can autoload directories of nested classes.Jeremy Kemper2006-08-161-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4769 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add silencing to deprecations; avoid self-scolding.Nicholas Seckar2006-08-142-4/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4760 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add debugging logging to Dependencies.Nicholas Seckar2006-08-131-1/+31
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4754 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add forgotten files; Fix double loading errors.Nicholas Seckar2006-08-081-6/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4730 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Checkin forgotten add. Update const_missing handler to avoid double loading ↵Nicholas Seckar2006-08-081-1/+1
| | | | | | files. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4729 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* New dependencies implementationNicholas Seckar2006-08-083-53/+206
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* separate warn method for easier localization overrideJeremy Kemper2006-08-081-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4720 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include called method in instance variable deprecation warning.Jeremy Kemper2006-08-081-6/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* DateTime#to_time gives hour/minute/second resolution. Closes #5747.Jeremy Kemper2006-08-071-4/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't warn when the deprecated ivar proxy is instantiated.Jeremy Kemper2006-08-071-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4698 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* attr_internal to support namespacing and deprecationJeremy Kemper2006-08-072-0/+32
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4692 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Raise fully qualified names upon name errors. Closes #5533.Nicholas Seckar2006-08-052-3/+22
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add extention to obtain the missing constant from NameError instancesNicholas Seckar2006-08-051-0/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4679 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove unnecessary brackets in regex (closes #5715)David Heinemeier Hansson2006-08-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* DeprecatedInstanceVariableProxy stand-in for @request, @attributes, and friends.Jeremy Kemper2006-08-051-4/+23
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de