RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: esbanarango
Definitely a part 2 worth!!
Put it before your render ;)
headers["Content-Disposition"] = "attachment; filename=\"#{filename}\""
Definitely a part 2 worth!!
Put it before your render ;)