Topic: acts_as_attachment storing photos outside of public folder.
i am creating a little photo gallery app and would like users to be able to store their photos and give them the ability to either make certain photos public for all, or only available to their friends. therfore, i thought it would be best to store all user photos outside the public folder and before i fetch them for a view, check if that certain photo iss checked private or not.
now at first i did a basic store, but for some reason, ti am gettting an error. must i define a route to be able to render a photo to a view?