Changeset 8705
- Timestamp:
- 01/23/08 16:10:28 (9 months ago)
- Files:
-
- trunk/activesupport/CHANGELOG (modified) (1 diff)
- trunk/activesupport/lib/active_support/core_ext/date_time/conversions.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/activesupport/CHANGELOG
r8699 r8705 1 1 *SVN* 2 3 * Remove unneeded #to_datetime_default_s alias for DateTime#to_s, given that we inherit a #to_default_s from Date that does exactly the same thing [Geoff Buesing] 2 4 3 5 * Refactor Time and DateTime #to_formatted_s: use ternary instead of nested if/else [Geoff Buesing] trunk/activesupport/lib/active_support/core_ext/date_time/conversions.rb
r8699 r8705 6 6 def self.included(base) #:nodoc: 7 7 base.class_eval do 8 alias_method :to_datetime_default_s, :to_s9 8 alias_method :to_s, :to_formatted_s 10 9 alias_method :default_inspect, :inspect