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 :contentand then implementhas_rich_text :contentto the model?If you just add the
has_rich_textfield does it just update those paths, ignore the previous model schema, or something else?has_rich_textadds a polymorphic link to your table. This means that the rich text content is not stored in thepoststable but in a dedicated polymorphic table for rich content.Therefore in your case, you would need to migrate your content to this new table.