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
MUGESH G CCE -
Yuvaraj N -
Aarav Joshi -
Aarav Joshi -
Top comments (0)