rails/rails — pull request #12532 by vipulnsward (2013-10-14 17:11:36+00:00)
Title: Fix `singleton_class?`

Due to changes from http://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/39628 current `singleton_class?` implementation fails.
Changed based on reference from http://bugs.ruby-lang.org/issues/7609