Ruby on Rails Friday, September 22, 2017



On Friday, September 22, 2017 at 2:21:51 AM UTC-4, Colin Law wrote:
On 22 September 2017 at 02:29, fugee ohu <fuge...@gmail.com> wrote:
> When I send messages I see in the log that inserts made to
> mailboxer_receipts table for field receiver_id have the id of the sender
> rather than the recipient What table is supposed to hold the id of the
> recipient? Is it mailboxer_receipts?

That depends on what relationships you have setup between the models.

Colin

>
> --
> 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-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/81957f23-6a9a-4fe8-8bce-4e186937c62a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

mailboxer setup install followed by migrate doesn't create any models, just those 4 tables, so it would seem the models aren't necessarily needed

--
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/744df08f-b999-4b80-a480-d721e41fa4a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment