Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Thomas's Profile

GitHub User: thomasjoyce

Site: nope

Comments by Thomas


just wondering if someone might be able to answer this?

1) how to prevent certain file type from being uploaded to AWS S3?
For example, i don't want user to upload video file at all, how to prevent it?

2) Is there a way in AWS S3 upload script to stop the files upload from triggering if each user is limit to 5 files upload per user?

Thanks for the help :- )


Any idea how to have it so that the controller is not being seen in the url?

For example, i got it working with this:

I like it to be this instead:

Just like facebook/twitter did in theirs.