2006-03-06 メモ groshab rails programming RuntimeError: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_idのエラーへの対策。 test/test_helper.rb self.use_instantiated_fixtures = true #=> デフォルトはfalseにする。