Ruby on Rails Friday, September 22, 2017



On Friday, September 22, 2017 at 5:04:51 PM UTC-4, Colin Law wrote:
On 22 September 2017 at 21:58, fugee ohu <fuge...@gmail.com> wrote:
> ..
> So what type of relationships were you imagining I've set up My user model
> acts_as_messageable that's all What are you talking about

You said that models were not needed for the tables, if you look at
the link I posted you will be able to see the models and the
relationships between the them.

Colin

Those models have no corresponding tables but i see conversations have many messages and receipts and notifications and those models in turn belong to conversations That's nice but it doesn't help me figure out why when i send a message to a single recipient where in the tables should I expect to find the recipients id then I can try to figure out what happens to messages sent that don't show in the receiving users inbox Thanks

--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0758b1c9-433f-4b2f-a471-d353a7899cdd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment