Junichi Ito

Results 45 comments of Junichi Ito

I reported this issue to Ruby core team. They fixed it quickly, but we have to wait until the next version is released. https://bugs.ruby-lang.org/issues/16503

Ruby 2.7.1 has been released! ๐ŸŽ‰ https://www.ruby-lang.org/en/news/2020/03/31/ruby-2-7-1-released/ The following code raises `RuntimeError (ret: 2, hash modified during iteration)` against 2.7.0 but runs infinitely against 2.7.1, so the problems should have...

> I'll make a note of it in the next update since I think it will save others some time. Great, thank you!

This PR helped my issue. Thank you very much. However, I had to add `notice:` option in order to display signed-out message: ```ruby def respond_to_on_destroy # We actually need to...

่จ€ๅŠใ‚ใ‚ŠใŒใจใ†ใ”ใ–ใ„ใพใ™๏ผ ๆœ€็ต‚็š„ใซใฏใ‚‹ใ‚Šใพๆœฌไฝ“ใซๅ–ใ‚Š่พผใพใ‚ŒใŸใ‚‰ใ„ใ„ใชใ€œใจๆ€ใ„ใชใŒใ‚‰ๆ›ธใ„ใฆใพใ—ใŸ๐Ÿ˜„ ใŸใ ใ€ๆ™‚้–“ใŒใ‹ใ‹ใ‚‹ใจๆ€ใ†ใฎใงใ€ใ•ใ—ใ‚ใŸใฃใฆใฏใƒชใƒณใ‚ฏใ‚’่ฒผใฃใฆใ‚‚ใ‚‰ใ†ใ€ใจใ„ใ†ใ ใ‘ใงใ‚‚ๅๅˆ†ใ‹ใ‚‚ใ—ใ‚Œใพใ›ใ‚“ใ€‚ > ใฉใ†ๆ›ธใ‘ใฐใ‚ˆใ„ใฎใ‹ๅˆ†ใ‹ใ‚Šใพใ›ใ‚“ใŒใ€‚ ใŸใจใˆใฐใ€โ†“ใฟใŸใ„ใชๆ„Ÿใ˜ใงใ™ใ‹ใญใ€œใ€‚ - ไผŠ่—ค ๆทณไธ€ ่‘—ใ€ŽRubyใฎๅ…ฌๅผใƒชใƒ•ใ‚กใƒฌใƒณใ‚นใŒ่ชญใ‚ใ‚‹ใ‚ˆใ†ใซใชใ‚‹ๆœฌใ€๏ผˆweb bookใ€็„กๆ–™๏ผ‰

How about "Don't stop testing simpler parts"? I think this message is the key of this content.

I felt this part was a little strange too. `expect(Contact.by_letter("J")).to_not include smith` does not match "This spec uses RSpec's `include` matcher to determine if the array returned by `Contact.by_letter("J")`" The...

In addition, I think `expect(Contact.by_letter("J")).to_not include @smith` is useless because `expect(Contact.by_letter("J")).to eq [@johnson, @jones]` means `not include @smith`. Therefore, dividing with `context` block is also useless. And I tried to...

> declare the Ruby dependency in the Gemfile I think it might be good alternative.

I thought `@contact` is missing in page 67 too.