ActionText::RichText
class has table name hard coded in Rails code.
self.table_name = "action_text_rich_texts"
It ignores table_name_prefix
setting and makes it not possible to have a table name project_a_action_text_rich_texts
work.
Is there a way to override table_name
that's coming from Rails class ActionText::RichText
?
Update: Updating two apps to Rails 6.x that share the same database in the cloud but use table_name_prefix
to have separate set of tables.
In Rails, table names for ActionText
and ActiveStorage
are hard coded. Goal is to make Project A read project_a_action_text_
and Project B read project_b_action_
tables.