仮に本採用になったとしても、rails は ActiveSupport あたりで
class NilClass; def to_s; ""; end; end って定義するだろうな。
rails 使いでなくても ruby + ActiveSupport がデフォルトでいいかも。