Leonid Medovyy


40 Experience
0 Lessons Completed
0 Questions Solved


Posted in Gravatar blocked in China, need a workaround

I like #4 personally :)

What does it look like when the image does not load? Does it show up as a 404?

In that case Gem or Engine is probably your best option. Check out this tutorial for some ideas on how engines could be used :) https://pchm.co/posts/tutorial-how-to-build-a-cms-in-ruby-on-rails

Depending on what you're doing it may be worth extract the code into a Gem or an Engine.

Git Submodules is also a viable option. I've started using them to share common CSS and JS code between different rails apps.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2024 GoRails, LLC. All rights reserved.