aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
Commit message (Collapse)AuthorAgeFilesLines
* 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-293-3/+4
| | | | 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
* Thoroughly document inflections. Closes #5700.Jeremy Kemper2006-08-031-11/+38
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4654 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Module#alias_attribute [Jamis/DHH]David Heinemeier Hansson2006-08-032-3/+32
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4653 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: easier to work with warning behavior as procs; default ↵Jeremy Kemper2006-08-011-32/+74
| | | | | | behaviors for each environment so users needn't update env.rb; and testing pleasure with assert_deprecated, assert_not_deprecated. Test prints to , dev logs, production ignores. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4647 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Initial Version of Deprecation for Rails[Koz]Michael Koziarski2006-07-271-0/+46
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4623 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Strip boolean XML content before checking for 'true' [Rick Olson]Rick Olson2006-07-211-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Get rid of constant redefinition warnings when running AP testsMarcel Molina2006-07-131-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4610 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Customize default BigDecimal formatting. [dave@pragprog.com]Marcel Molina2006-07-132-0/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4608 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correctly convert <foo nil=true> to nil when using Hash.create_from_xml. [Rick]Rick Olson2006-07-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4607 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* occured -> occurred. Closes #5559.Jeremy Kemper2006-07-102-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4604 5ecf4fe2-1ee6-0310-87b1-e25e094e27de