Rick Olson
|
d6925b14fa
|
Don't undefine #class in OptionMerger [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-27 18:46:46 +00:00 |
|
Jeremy Kemper
|
7554518665
|
deprecation_method_warning and deprecation_horizon - fewer moving parts, easy to localize
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5161 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-22 01:16:09 +00:00 |
|
David Heinemeier Hansson
|
54c393f5fa
|
Hash.create_from_xml has been renamed to Hash.from_xml, alias will exist until Rails 2.0 [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-20 09:34:29 +00:00 |
|
David Heinemeier Hansson
|
5d50dee71f
|
Version updates and missing licenses
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-15 10:13:27 +00:00 |
|
Jeremy Kemper
|
d0c000ab9e
|
assert_deprecated returns result of block
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-15 05:54:18 +00:00 |
|
Jeremy Kemper
|
069b0eaf0b
|
assert_deprecated matches any warning caught in block
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5114 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-15 03:56:25 +00:00 |
|
Jeremy Kemper
|
643571ca25
|
alias_method_chain yields method target and punctuation to simplify wrapper method definition. Used by the deprecate module method.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-15 03:42:54 +00:00 |
|
Jeremy Kemper
|
74f60c032e
|
alias_method_chain works with accessor= methods also. Closes #6153.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5091 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-12 07:10:43 +00:00 |
|
Nicholas Seckar
|
93659978d5
|
Fix loadable_constants_for_path to handle load paths that do not end with a slash.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-06 20:31:28 +00:00 |
|
Nicholas Seckar
|
7441b19d0c
|
Fix logic error in determining what was loaded by a given file. Closes #6039.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5035 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-05 23:36:14 +00:00 |
|
Nicholas Seckar
|
1d554b84f8
|
Equate Kernel.const_missing with Object.const_missing. Fixes #5988.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5023 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-05 22:36:28 +00:00 |
|
Jeremy Kemper
|
668c64b48d
|
quell warnings
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4982 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 08:28:44 +00:00 |
|
Jeremy Kemper
|
9f3ba03bc7
|
reloadable deprecation tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4979 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 06:02:16 +00:00 |
|
Jeremy Kemper
|
7269b086e1
|
silenced writer
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4978 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 05:55:55 +00:00 |
|
Jeremy Kemper
|
be54075956
|
set ActiveSupport::Deprecation.debug = true to see backtraces for deprecation callers. off by default. on for Rails tests.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4966 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 03:38:13 +00:00 |
|
Jeremy Kemper
|
6ca6c5de3a
|
set ActiveSupport::Deprecation.debug = true to see backtraces for 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
|
2006-09-04 03:32:22 +00:00 |
|
Jeremy Kemper
|
23d579b262
|
Quiet while testing, you.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4961 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 02:57:40 +00:00 |
|
Jeremy Kemper
|
29cec6d0ab
|
get deprecation methods and callers straight
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 00:17:01 +00:00 |
|
David Heinemeier Hansson
|
6d88a992b5
|
Added deprecation language for in_place_editor and auto_complete_field that 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
|
2006-09-03 23:22:24 +00:00 |
|
David Heinemeier Hansson
|
4bd444c1fe
|
More deprecation fun
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4943 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-03 22:35:31 +00:00 |
|
David Heinemeier Hansson
|
eb90b94afd
|
If not running in Rails, we will log deprecations to $stderr
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4939 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-03 20:37:25 +00:00 |
|
David Heinemeier Hansson
|
65ca0db3f6
|
Modules can deprecate stuff too
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4936 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-03 20:29:43 +00:00 |
|
Nicholas Seckar
|
6fcc81b7f9
|
Add forgotten file
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4928 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-03 19:39:08 +00:00 |
|
David Heinemeier Hansson
|
57d941f586
|
Stress that 2.0 is the cut and that we will have a page listing deprecations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4927 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-03 19:37:44 +00:00 |
|
David Heinemeier Hansson
|
f71080a475
|
Made it clear that deprecated stuff leaves on majors only
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4926 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-03 19:33:15 +00:00 |
|
Jeremy Kemper
|
5dfec7b217
|
More tests for alias_method_chain with feature and method punctuation. Closes #4954.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4920 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-03 18:39:35 +00:00 |
|
Nicholas Seckar
|
26f28e7cfa
|
Add ApplicationController special case to Dependencies.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4910 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-02 21:13:30 +00:00 |
|
Marcel Molina
|
9db407f578
|
Don't pad remaining places with in_groups_of if specified padding value is false. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4900 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-02 18:02:36 +00:00 |
|
Rick Olson
|
e4a4287c97
|
Fix cases where empty xml nodes weren't being translated to nil in Hash.create_from_xml [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4895 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-01 16:09:18 +00:00 |
|
Jeremy Kemper
|
12ff554cd4
|
Tighten rescue clauses. Closes #5985.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-31 03:16:28 +00:00 |
|
Jeremy Kemper
|
7635facdc8
|
Inflections: don't singularize -ies plurals.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4868 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-30 13:04:37 +00:00 |
|
Jeremy Kemper
|
965ae90bc6
|
Eliminate Active Support warnings.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-29 08:24:04 +00:00 |
|
Nicholas Seckar
|
68c9c93118
|
Update Initializer to use load_once_paths to avoid plugin reloading. References #5852.
Add Dependencies.load_once_paths.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-29 06:52:39 +00:00 |
|
Jeremy Kemper
|
4dc464c1df
|
Use Array#assoc in ActiveSupport::OrderedHash.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4817 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-25 06:01:02 +00:00 |
|
Thomas Fuchs
|
bb531a946d
|
Fix unit tests for JSON emitters
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-20 17:27:28 +00:00 |
|
Thomas Fuchs
|
b006317b44
|
Greatly increased performance of String.to_json, which speeds up RJS considerably on large pages, fixes #3473 [Shugo Maeda]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4787 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-18 09:16:29 +00:00 |
|
Nicholas Seckar
|
4584376a91
|
Add tests for prior checkin
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-17 17:32:23 +00:00 |
|
Nicholas Seckar
|
cad830fb20
|
Widen too narrow rescue
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-17 17:19:11 +00:00 |
|
Nicholas Seckar
|
924ef18d4b
|
Detect missing_constants calls from removed modules and fail accordingly.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4780 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-17 03:35:36 +00:00 |
|
Nicholas Seckar
|
2b37d59976
|
Fix const_missing to behave responsibly when called within anonymous modules
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4779 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-16 20:54:25 +00:00 |
|
Nicholas Seckar
|
38f598ec0b
|
Update require_dependency to return true or false as require does.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4778 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-16 20:33:31 +00:00 |
|
Nicholas Seckar
|
593f04e6a9
|
Stop using defined? in Dependencies.qualified_const_defined? since defined? may invoke const_missing.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4774 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-16 17:50:52 +00:00 |
|
Jeremy Kemper
|
80f1597942
|
Dependencies can autoload directories of nested classes.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4769 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-16 09:18:17 +00:00 |
|
Nicholas Seckar
|
30fa7053be
|
Add silencing to deprecations; avoid self-scolding.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4760 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-14 18:15:44 +00:00 |
|
Nicholas Seckar
|
440655e1fa
|
Add debugging logging to Dependencies.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4754 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-13 03:29:04 +00:00 |
|
Nicholas Seckar
|
9bd007c7c7
|
Add forgotten files; Fix double loading errors.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4730 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-08 22:08:09 +00:00 |
|
Nicholas Seckar
|
4635d33996
|
Checkin forgotten add. Update const_missing handler to avoid double loading files.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4729 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-08 21:44:34 +00:00 |
|
Nicholas Seckar
|
74165eb6ac
|
New dependencies implementation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-08 21:21:04 +00:00 |
|
Jeremy Kemper
|
2ce49e7dd5
|
separate warn method for easier localization override
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4720 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-08 07:03:44 +00:00 |
|
Jeremy Kemper
|
0a44c85866
|
Include called method in instance variable deprecation warning.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-08 06:57:59 +00:00 |
|