如果有涉及海外的业务,很多时候都会遇到海外手机号获取短信验证码的问题。在测试的时候,需要较多的手机号用户测试注册等内容,如果办理很多海外手机号用于测试,很不现实。
Continue reading
Recently, Ruby 2.7-preview3 is released.
This release has an interesting method - Enumable#tally
. It counts the occurrence of each element.
Continue reading
When we develop with micro service architechure or high concurrency, the distributed lock must be metioned.
Continue reading
When we talk about the software architechure, sometimes the Exception Control
concept will be metioned.
Continue reading
The order of multiple rescue_from
statements might be unexpected.
Continue reading
Create only the data you need
If you have ever worked in a medium size project(but also in small
ones), test suites can be heavy to run. To solve this problem, it’s
important not to load more data than needed. Also, if you think you need
dozens of records, you are probably wrong.
Continue reading