search for: rail_app_directory

Displaying 1 result from an estimated 1 matches for "rail_app_directory".

2011 May 19
0
Unable to find the image path via file system using the paperclip plugin through the get method
...reated in my app''s root directory and within that there is a directory which gets created every time a new post is added with an appropriate image upload. This directory name is coined with the an id, uniquely identifying each image within it. The actual directory structure is like this:- rail_app_directory/photo/id_number/orginal/photo_filename.appropriate_file_format A more direct e.g. to the general structure posted above:- post_with_image/photo/1/original/sunset.jpeg Please find code for controller below just in case:- class PostsController < ApplicationController # GET /posts...