has_rich_text adds a polymorphic link to your table. This means that the rich text content is not stored in the posts table but in a dedicated polymorphic table for rich content.
Therefore in your case, you would need to migrate your content to this new table.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
With regards to adding action_text to an existing app, for instance if you already had:
Would you have to run a migration to remove
post :content
and then implementhas_rich_text :content
to the model?If you just add the
has_rich_text
field does it just update those paths, ignore the previous model schema, or something else?has_rich_text
adds a polymorphic link to your table. This means that the rich text content is not stored in theposts
table but in a dedicated polymorphic table for rich content.Therefore in your case, you would need to migrate your content to this new table.