Ruby on Rails Saturday, September 23, 2017

On 22 September 2017 at 22:32, fugee ohu <fugee279@gmail.com> wrote:
>
>
> 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

In that case it is odd that, for example, receipt.rb contains the line
self.table_name = :mailboxer_receipts
which rather suggests there is a corresponding table.

Colin

> 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/CAL%3D0gLu99Ft1oSG%3D2u-zKdHHoVXxBQCwHj%2BMhwimOZ6OgFtCmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment