Changeset 1472
- Timestamp:
- 06/21/05 16:36:40 (3 years ago)
- Files:
-
- trunk/activesupport/CHANGELOG (modified) (1 diff)
- trunk/activesupport/lib/active_support/whiny_nil.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/activesupport/CHANGELOG
r1466 r1472 1 1 *SVN* 2 3 * Added an exception if calling id on nil to WhinyNil #584 [kevin-temp@writesoon.com] 2 4 3 5 * Added Fix/Bignum#multiple_of? which returns true on 14.multiple_of?(7) and false on 16.multiple_of?(7) #1464 [Thomas Fuchs] trunk/activesupport/lib/active_support/whiny_nil.rb
r1455 r1472 18 18 @@method_class_map[method.to_sym] = klass 19 19 end 20 end 21 22 def id 23 raise "Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id" 20 24 end 21 25