We can write a condition in a yml for rails like this.
config/setting.yml
address: '<%= Date.today < Date.new(2020, 12, 1) ? "Tokyo" : "Osaka" %>'
We can write a condition in a yml for rails like this.
config/setting.yml
address: '<%= Date.today < Date.new(2020, 12, 1) ? "Tokyo" : "Osaka" %>'
For further actions, you may consider blocking this person and/or reporting abuse
Hexadecimal -
Tiioluwani -
Kanishka -
Anwar Achilles -
Top comments (0)