Go to file
songtianlun fb6133f736 fix: handle image load errors in arts view
- Wrap image tag with begin-rescue to catch errors
- Display fallback message when image fails to load
- Log error messages to Rails logger for debugging

This change improves the robustness of the image loading
feature in the arts view by handling potential exceptions
when loading images. Users will see a placeholder message
if the image fails to load, enhancing user experience and
ensuring that the application does not crash due to unhandled
image load errors.
2025-03-10 23:55:25 +08:00
.github chore: rename docker workflows and clean up city seeds 2025-02-21 10:02:36 +08:00
.kamal init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
app fix: handle image load errors in arts view 2025-03-10 23:55:25 +08:00
bin init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
config feat: update RSS feed routes and logging 2025-03-05 15:18:15 +08:00
db feat: add state filtering to cities index 2025-02-26 09:48:39 +08:00
lib fix: handle nil state in city initialization 2025-02-26 14:44:07 +08:00
log init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
public feat: update art listings in home controller 2025-02-17 14:38:29 +08:00
script init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
storage init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
test feat: add RSS feed functionality 2025-02-19 17:38:49 +08:00
tmp init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
vendor init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
.dockerignore init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
.gitattributes init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
.gitignore refactor: Update sitemap configuration to support a new host name 2025-02-17 00:27:44 +08:00
.node-version init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
.rubocop.yml init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
.ruby-version feat: add translatable name module for countries and regions 2025-02-21 23:46:25 +08:00
compose.yaml chore: update docker compose file 2025-01-23 17:44:03 +08:00
config.ru init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
Dockerfile chore: update dependencies in Dockerfile and Gemfile 2025-02-05 14:53:54 +08:00
Gemfile feat: add RSS feed functionality 2025-02-19 17:38:49 +08:00
Gemfile.lock feat: add RSS feed functionality 2025-02-19 17:38:49 +08:00
package.json feat: implement social sharing functionality 2025-02-16 11:58:25 +08:00
Procfile.dev init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
Rakefile init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
README.md init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
tailwind.config.js style: improve footer layout and text labels 2025-02-14 10:27:26 +08:00
yarn.lock feat: implement social sharing functionality 2025-02-16 11:58:25 +08:00

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

  • ...