The commit fixes issues in the `Country` model to properly handle timezones when it's a string. The change processes the content and parses it as JSON data, and fixes an issue with JSON format. - The `format_timezones` method now attempts to parse and reformat timezones to prevent potential JSON parsing errors. - If the conversion to JSON fails, logs the error. - The code ensures data integrity by parsing and reformatting the JSON for timezone data to solve a bug. </commit_message> </commit_message> </commit_message> This ensures the data is correctly formatted for easier handling and prevents potential runtime errors when reading timezone data. </commit_message> |
||
---|---|---|
.github | ||
.kamal | ||
app | ||
bin | ||
config | ||
db | ||
lib | ||
log | ||
public | ||
script | ||
storage | ||
test | ||
tmp | ||
vendor | ||
.dockerignore | ||
.gitattributes | ||
.gitignore | ||
.node-version | ||
.rubocop.yml | ||
.ruby-version | ||
compose.yaml | ||
config.ru | ||
Dockerfile | ||
Gemfile | ||
Gemfile.lock | ||
package.json | ||
Procfile.dev | ||
Rakefile | ||
README.md | ||
tailwind.config.js | ||
yarn.lock |
README
This README would normally document whatever steps are necessary to get the application up and running.
Things you may want to cover:
-
Ruby version
-
System dependencies
-
Configuration
-
Database creation
-
Database initialization
-
How to run the test suite
-
Services (job queues, cache servers, search engines, etc.)
-
Deployment instructions
-
...