aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/deprecation.rb
Commit message (Collapse)AuthorAgeFilesLines
* bump AS deprecation_horizon to 4.0Francesco Rodríguez2012-06-171-2/+2
|
* bump AS deprecation_horizon to 3.2Josh Kalderimis2011-04-251-1/+1
|
* Implement deprecated version of AssociationReflection#primary_key_name, ↵Jon Leighton2011-01-031-1/+1
| | | | which has been renamed to #foreign_key. Also bumping the deprecation_horizon in Active Support to 3.1.
* Improve documentation on ActiveSupport::Deprecation.Ryan Bigg2010-12-211-1/+1
|
* Dice up ActiveSupport::DeprecationJeremy Kemper2009-04-171-185/+9
|
* Remove unnecessary use of Kernel#silence_warningsJeremy Kemper2009-03-241-3/+1
|
* Inline code comments for class_eval/module_eval [#1657 state:resolved]Xavier Noria2008-12-281-4/+9
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Properly parenthasize calls to defined?(Rails) in 75fa82418 [#1563 ↵Frederick Cheung2008-12-151-1/+1
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Prefer Rails.logger over RAILS_DEFAULT_LOGGERJoshua Peek2008-12-101-1/+1
|
* Move deprecation assertions so TestCase (and Mocha) needn't load on startupJeremy Kemper2008-11-231-59/+0
|
* Remove direct TestCase mixins. Add miniunit compatibility.Jeremy Kemper2008-11-071-13/+20
|
* Update the default deprecation message to not promise that theres more info ↵David Heinemeier Hansson2008-10-301-2/+2
| | | | at the Rails site [#776 state:resolved]
* Deprecate render_component.Pratik Naik2008-08-291-1/+1
| | | | | Please install render_component plugin from http://github.com/rails/render_component/tree/master if your application uses this functionality.
* Deprecated implicit local assignments when rendering partialsJoshua Peek2008-08-281-0/+16
|
* Pass class through to DeprecatedConstantProxy targetTarmo Tänav2008-08-231-0/+4
| | | | | | | This is needed because include_all_modules_from checks calls "class" on every constant and sometimes it can hit deprecated constants which aren't even Modules, but while checking for it deprecation warnings are shown.
* remove DeprecatedConstantToMethodProxy againSven Fuchs2008-06-221-17/+0
|
* experimental DeprecatedConstantToMethodProxySven Fuchs2008-06-211-0/+17
|
* Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ↵Joshua Peek2008-06-031-7/+25
| | | | ActiveSupport [#238 state:resolved]
* Merge docrails.Pratik Naik2008-05-251-2/+2
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Remove unnecessary DeprecatedInstanceVariable classPratik Naik2008-05-131-17/+0
|
* Ruby 1.9 compat: define __setobj__ for DelegatorJeremy Kemper2008-05-121-2/+6
|
* Add class to deprecate instance variablesPratik Naik2008-05-061-0/+14
| | | | | Add ActiveSupport::Deprecation::DeprecatedInstanceVariable class to deprecate instance variables of primitive types such as stings.
* Some 1.9 forward compatibilityJeremy Kemper2007-09-141-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactored in use of extract_options! (closes #9079) [josh]David Heinemeier Hansson2007-07-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: warn on stderr if RAILS_DEFAULT_LOGGER isn't set yet.Jeremy Kemper2007-02-081-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6140 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Nodoc the irrelevant (from 1.2)David Heinemeier Hansson2007-01-261-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6044 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* DeprecatedInstanceVariable#inspect doesn't warn since test/unit, error logs, ↵Jeremy Kemper2006-12-201-1/+8
| | | | | | and others use it for diagnostics. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5763 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't require test/unit since it tries to turn everything into a test run.Jeremy Kemper2006-12-181-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: silence warnings when reporting test errors.Jeremy Kemper2006-12-171-0/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve readability.Jeremy Kemper2006-11-171-8/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5547 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Handle failed caller parsing, factor out deprecation caller message.Jeremy Kemper2006-11-161-3/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5535 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Extend deprecate so that alternatives can be specified via the deprecationJamis Buck2006-10-241-3/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5356 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
* 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-151-7/+8
| | | | | | method definition. Used by the deprecate module method. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* quell warningsJeremy Kemper2006-09-041-0/+3
| | | | 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
* Eliminate Active Support warnings.Jeremy Kemper2006-08-291-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add silencing to deprecations; avoid self-scolding.Nicholas Seckar2006-08-141-1/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4760 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* New dependencies implementationNicholas Seckar2006-08-081-9/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de