Sorry, this entry is only available in Japanese.
I introduce the way to convert number to word
The code executes different method according to the environment, in Rails. In this way, you can show message only in development environment.
In Ruby, we can use
&&. And also
|| we can use. I researched about their difference.