On Monday, September 3, 2018 at 3:34:56 AM UTC-4, Colin Law wrote: > > On Sun, 2 Sep 2018 at 21:55, fugee ohu <[email protected] <javascript:>> > wrote: > > ... > > There's no message model The messages are the receipts They belong to > notifications which belong to conversations > > How can messages belong to notifications if there is no Message model? > > Colin >
Oh sorry it's in the gem What I'm trying to figure out now is it has in notification.rb belongs_to :sender, :polymorphic => :true, :required => false But there's no model that contains as: :sender -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/474326cc-955f-4982-afa0-76688426d7dd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

