Adding belongs to relationship to Ruby Gem Mailboxer

前端 未结 4 1988
情话喂你
情话喂你 2021-01-03 10:08

I am building an e-com application and would like to implement something like a messaging system. In the application, all conversation will be related to either a Prod

4条回答
  •  粉色の甜心
    2021-01-03 10:13

    You could just use something like:

    form_helper :products
    

    and add those fields to the message form

    but mailboxer comes with attachment functionality(carrierwave) included

    this might help if you need something like attachments in your messages:

    https://stackoverflow.com/a/12199364/1230075

提交回复
热议问题