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
Andrew Despres -
Alexis Kypridemos -
Joel Onyedika -
Philip Perry -
Top comments (0)