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
Kemisola -
Kemisola -
Roman Agabekov -
Sefali Warner -
Top comments (0)