From 802bb8a452e1969e15683a1f7599e3ffc580215f Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 17 Sep 2018 17:15:53 -0700 Subject: Plural table name --- app/models/action_mailroom/inbound_email.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/models/action_mailroom/inbound_email.rb b/app/models/action_mailroom/inbound_email.rb index cb39967e09..f280bc192c 100644 --- a/app/models/action_mailroom/inbound_email.rb +++ b/app/models/action_mailroom/inbound_email.rb @@ -1,5 +1,5 @@ class ActionMailroom::InboundEmail < ActiveRecord::Base - self.table_name = "action_mailroom_inbound_email" + self.table_name = "action_mailroom_inbound_emails" after_create_commit :deliver_to_mailroom_later has_one_attached :raw_message -- cgit v1.2.3