How to display action text when content contains the broken image
Use this to avoid the "asset not found" error from sprocket:
@object.content.to_trix_html.html_safe
reference: https://api.rubyonrails.org/classes/ActionText/RichText.html
Written by Kevin
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#