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
Adeyemi Racheal -
Jaimin Bariya -
technonotes-hacker -
Judy -
Top comments (0)