aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2018-05-28 17:43:40 +0200
committerDavid Heinemeier Hansson <david@loudthinking.com>2018-05-28 17:43:40 +0200
commitff5ae47a4bfb8fb71aea883b42372fc500b75ce5 (patch)
treee9ab5fe26f86e6b815e2e127352a94adba089362 /app
parente63acf4513dec5f2dc08293d8141971850fe4853 (diff)
downloadrails-ff5ae47a4bfb8fb71aea883b42372fc500b75ce5.tar.gz
rails-ff5ae47a4bfb8fb71aea883b42372fc500b75ce5.tar.bz2
rails-ff5ae47a4bfb8fb71aea883b42372fc500b75ce5.zip
Back by fully qualified table name
Diffstat (limited to 'app')
-rw-r--r--app/models/action_text/rich_text.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/action_text/rich_text.rb b/app/models/action_text/rich_text.rb
index a56a18efda..7c5211a67e 100644
--- a/app/models/action_text/rich_text.rb
+++ b/app/models/action_text/rich_text.rb
@@ -1,4 +1,6 @@
class ActionText::RichText < ActiveRecord::Base
+ self.table_name = "action_text_rich_texts"
+
serialize :body, ActionText::Content
has_many_attached :embeds