You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The trix_editor fields are powered by Rails Action Text feature, which stores the text in a separate table. To prevent possible confusion we should avoid adding a text column to tables that will always be empty.
For instance, if you do this:
rails g super_scaffold Task Team name:text_field description:trix_editor
The
trix_editor
fields are powered by Rails Action Text feature, which stores the text in a separate table. To prevent possible confusion we should avoid adding atext
column to tables that will always be empty.For instance, if you do this:
You end up with a migration like this:
Ideally it would look like this (mostly the same, but without the
description
line):The text was updated successfully, but these errors were encountered: