Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 4926

Show
Ignore:
Timestamp:
09/03/06 19:33:15 (2 years ago)
Author:
david
Message:

Made it clear that deprecated stuff leaves on majors only

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/activesupport/lib/active_support/deprecation.rb

    r4839 r4926  
    3535        def deprecation_message(callstack, message = nil) 
    3636          file, line, method = extract_callstack(callstack) 
    37           message ||= "WARNING: #{method} is deprecated and will be removed from the next Rails release
     37          message ||= "WARNING: #{method} is deprecated and will be removed from the next major Rails release (2.0)
    3838          "#{message} (#{method} at #{file}:#{line})" 
    3939        end 
     
    7979 
    8080      private 
    81          
    8281        def collect_deprecations 
    8382          old_behavior = ActiveSupport::Deprecation.behavior