--
You received this message because you are subscribed to the Google Groups "Shrine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-shrine+unsubscribe@googlegroups.com.
To post to this group, send email to ruby-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ruby-shrine/abe2a223-76e6-4024-9b6a-0a897bf956cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes, this is possible with Shrine, you can implement it just like any other dynamic has many association (using `accepts_nested_attributes_for`). But I happen to also already be writing a guide for that, which should be finished today or tomorrow, so I will let you know.Kind regards,Janko
On Sat, 5 Nov 2016 at 05:09, <marcam...@gmail.com> wrote:
I have a `Profile` model, that `has_many :transcripts`. Each `transcript` can have many file uploads (PDFs).--When I create a new profile, I would like to be able to create a new transcript and add multiple file uploads to that transcript record at the same time (via accepts_nested_attributes_for).Will Shine be able to handle the successful uploading of those 3 files to S3 and associate it with both that `transcript` object and the newly created `profile` object?Is this spelled out in any of the docs anywhere, because I was looking through some of it and I couldn't find any mention of nested_attributes support.Thanks in advance.
You received this message because you are subscribed to the Google Groups "Shrine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-shrine...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-shrine+unsubscribe@googlegroups.com.
To post to this group, send email to ruby-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ruby-shrine/1ca26290-04b2-4946-8e78-5ae9b01e3122%40googlegroups.com.