RailsCasts Pro episodes are now free!

Learn more or hide this

Dan Weaver's Profile

GitHub User: weavermedia

Comments by Dan Weaver

Avatar

Thanks Wayne, really good gem. It's working great for me.

How would I use it when the upload objects are children another object?

I can't see a way to pass any kind of parent_id to the child on creation.

Avatar

I'm using the example at the end of the video that just uses jquery-file-upload to upload direct to S3. It's all working fine but now I want to make the upload a child of a parent object.

I'm uploading files on the parent's new page. How do I pass the parent_id to the child object?