Changeset 4926
- Timestamp:
- 09/03/06 19:33:15 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/activesupport/lib/active_support/deprecation.rb
r4839 r4926 35 35 def deprecation_message(callstack, message = nil) 36 36 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)" 38 38 "#{message} (#{method} at #{file}:#{line})" 39 39 end … … 79 79 80 80 private 81 82 81 def collect_deprecations 83 82 old_behavior = ActiveSupport::Deprecation.behavior