Ruby on Rails
Monday, September 25, 2017
On Monday, September 25, 2017 at 10:32:18 AM UTC-4, Colin Law wrote:
On 25 September 2017 at 15:21, fugee ohu <fuge...@gmail.com> wrote:
>
>
>
> On Monday, September 25, 2017 at 6:28:17 AM UTC-4, Colin Law wrote:
>>
>> On 25 September 2017 at 11:13, fugee ohu <fuge...@gmail.com> wrote:
>> > Here
>> > https://stackoverflow.com/questions/44417543/mailboxer- recipient-inbox-not-showing- conversations
>> > someone shows how to send a message to a recipient_id rather than a
>> > recipient object My understanding is recipients has to be an object so how
>> > can his example work?
>>
>> Which line of code is sending a message to a recipient_id?
>>
>> Colin
>
>
> Under answer:
e
> receipt = current_user.send_message(recipient, params[:body], params[:subject])
where recipient is a User. If so I don't understand what you are
asking. If you don't mean that line then which line do you mean?
Colin
can we agree to delete
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/b97eef73-94f4-4620-8dfb-c70bb4506d9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment