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 |
|
Jeremy Kemper
|
52c9ad4c98
|
DateTime#to_time gives hour/minute/second resolution. Closes #5747.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-07 22:07:33 +00:00 |
|
Jeremy Kemper
|
2bf8f2307e
|
Don't warn when the deprecated ivar proxy is instantiated.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4698 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-07 06:10:34 +00:00 |
|
Jeremy Kemper
|
cfd9e05a2e
|
attr_internal to support namespacing and deprecation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4692 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-07 01:16:37 +00:00 |
|
Nicholas Seckar
|
52d4166947
|
Raise fully qualified names upon name errors. Closes #5533.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-05 22:52:15 +00:00 |
|
Nicholas Seckar
|
196fab9b0d
|
Add extention to obtain the missing constant from NameError instances
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4679 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-05 22:23:58 +00:00 |
|
David Heinemeier Hansson
|
01e389c965
|
Remove unnecessary brackets in regex (closes #5715)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-05 20:44:35 +00:00 |
|
Jeremy Kemper
|
0e73a92c04
|
DeprecatedInstanceVariableProxy stand-in for @request, @attributes, and friends.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-05 06:33:28 +00:00 |
|
Jeremy Kemper
|
149d181562
|
Thoroughly document inflections. Closes #5700.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4654 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-03 21:29:07 +00:00 |
|
David Heinemeier Hansson
|
9d00b0ce85
|
Added Module#alias_attribute [Jamis/DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4653 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-03 18:47:43 +00:00 |
|
Jeremy Kemper
|
7d01778139
|
Deprecation: easier to work with warning behavior as procs; default 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
|
2006-08-01 11:12:38 +00:00 |
|
Michael Koziarski
|
7692191f5a
|
Initial Version of Deprecation for Rails[Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4623 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-07-27 00:10:06 +00:00 |
|
Rick Olson
|
3a0159dd1e
|
Strip boolean XML content before checking for 'true' [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-07-21 05:52:30 +00:00 |
|
Marcel Molina
|
2482e17e57
|
Get rid of constant redefinition warnings when running AP tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4610 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-07-13 03:32:38 +00:00 |
|
Marcel Molina
|
d68fd78bad
|
Customize default BigDecimal formatting. [dave@pragprog.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4608 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-07-13 03:23:39 +00:00 |
|