RailsCasts Pro episodes are now free!

Learn more or hide this

Xifip's Profile

GitHub User: Xifip

Comments by Xifip

Avatar

Thanks! Saved me some time working this out.

Avatar

I am also interested in these two cases and the solutions proposed be David would work for me. I have tried a few approaches but, like Dan, have run into issues. If anyone has a code example for this it would be great.

Thanks

John

Avatar

I was getting the same and resolved it by including a redirect on success in the controller, as in the screencast.

@uploader.success_action_redirect = user_profile_url