app/models/ahoy/message.rb in ahoy_email-0.0.1 vs app/models/ahoy/message.rb in ahoy_email-0.0.2
- old
+ new
@@ -1,4 +1,7 @@
module Ahoy
class Message < ActiveRecord::Base
+ self.table_name = "ahoy_messages"
+
+ belongs_to :user, polymorphic: true
end
end