Rails 6.1 ã®æ°æ©è½ rails_storage_proxy_url ã使ãã¨ãActiveStorage ã§æ·»ä»ãããã¡ã¤ã«ã¸ã®ãªã³ã¯ãç½²åä»ãURLã¸ã®ãªãã¤ã¬ã¯ãã«ãªãããRailsã¢ããªã®URLã®ã¾ã¾ãã¡ã¤ã«ããã¦ã³ãã¼ãã§ããããã«ãªãã¾ãã ã©ããããã¨ï¼ ActiveStorageã¯ããã¾ã§ãS3ãããã¯ã¨ã³ãã¨ãã¦ä½¿ã£ãå ´åãS3ã¸ã®ç½²åä»ãURL=ã¿ã¤ã ã¹ã¿ã³ããªã©ãä»ä¸ãããURLã¸ã®ãªãã¤ã¬ã¯ããè¡ã£ã¦ãã¾ããã ãããããã¯æ±ãã¥ãããã¨ãå°ãªããªããæ©ã¿ã®ç¨®ã®1ã¤ã§ããã Rails 6.1 ã§ãã®åé¡ã«å¯¾ããåçãï¼ããããï¼å ¬å¼ã«ç¨æããããã¨ã«ãªãã¾ãã ä¾ url_for(user.photo) ã§ActiveStorageã¸ã®URLãçæ ãã¨ãã° http://localhost:3000/rails/active_storage/blobs/
{{#tags}}- {{label}}
{{/tags}}