Changeset 2506
- Timestamp:
- 10/09/05 17:52:42 (3 years ago)
- Files:
-
- trunk/activesupport/CHANGELOG (modified) (1 diff)
- trunk/activesupport/lib/active_support/core_ext/date/conversions.rb (modified) (1 diff)
- trunk/activesupport/lib/active_support/core_ext/range (added)
- trunk/activesupport/lib/active_support/core_ext/range.rb (added)
- trunk/activesupport/lib/active_support/core_ext/range/conversions.rb (added)
- trunk/activesupport/test/core_ext/range_ext_test.rb (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/activesupport/CHANGELOG
r2490 r2506 1 1 *SVN* 2 3 * Added to_s(:db) to Range, so you can get "BETWEEN '2005-12-10' AND '2005-12-12'" from Date.new(2005, 12, 10)..Date.new(2005, 12, 12) (and likewise with Times) 2 4 3 5 * Moved require_library_or_gem into Kernel. #1992 [Michael Schuerig <michael@schuerig.de>] trunk/activesupport/lib/active_support/core_ext/date/conversions.rb
r1344 r2506 9 9 } 10 10 11 def self.append_features(klass) #:nodoc: 12 super 11 def self.included(klass) #:nodoc: 13 12 klass.send(:alias_method, :to_default_s, :to_s) 14 13 klass.send(:alias_method, :to_s, :to_formatted_s)