This project is archived and is in readonly mode.

#6444 ✓resolved
nakahiro (at gmail)

ActiveSupport: nil.id could not be 4

Reported by nakahiro (at gmail) | February 17th, 2011 @ 10:19 AM

Cosmetic: proper care about nil.id for Ruby impls.

nil.id could not be 4. Just a exception message thing.
% ~/ruby/rubinius-1.2.1/bin/rbx -ve 'p nil.object_id' rubinius 1.2.1 (1.8.7 release 2011-02-15 JI) [x86_64-unknown-linux-gnu]
53

Patch attached for activesupport/lib/active_support/whiny_nil.rb

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Referenced by

Pages