For a while now we've seen that images in our Pika atom feeds were not displaying in some feed readers. In fact, they weren't displaying in my own feed reader, which routes through Feedly. I was sad. I spent a lot of time troubleshooting this. Compared our feed with a lot of atom and RSS feeds that worked. Eventually I came to a hair-brained idea: what if Rails's Action Text image display markup was confusing these feed readers?| Good Enough
We've been using Turbo Streams in some of our recent prototypes, which makes it really easy and fun to get responsive and fun interactions set up. However, we kept having issues with images sent in a turbo stream response. If the response was delivered by a normal controller render, e.g. class ThingController < ApplicationController def update @thing = Thing.find(params[:id]) if @thing.update(thing_params) respond_to do |format| format.turbo_stream # renders `update.turbo_stream.erb` end end ...| Good Enough
Action Text OverviewThis guide provides you with all you need to get started in handling rich text content.After reading this guide, you will know: What Action Text is, and how to install and configure it. How to create, render, style, and customize rich text content. How to handle attachments.| Ruby on Rails Guides
Getting Started with RailsThis guide covers getting up and running with Ruby on Rails.After reading this guide, you will know: How to install Rails, create a new Rails application, and connect your application to a database. The general layout of a Rails application. The basic principles of MVC (Model, View, Controller) and RESTful design. How to quickly generate the starting pieces of a Rails application. How to deploy your app to production using Kamal.| Ruby on Rails Guides