search for: image_directory

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

2008 Sep 18
2
Setting up Fleximage
...9;m going in the wrong direction with my troubleshooting, if a table even needed to be created for the photos or what my next step should be. If anyone could point me in the right direction, I''d appreciate it. :) Model (photo.rb) class Photo < ActiveRecord::Base acts_as_fleximage :image_directory => ''public/images/uploaded_photos'' end Controller (photos_controller.rb) class PhotosController < ApplicationController def new end def create @photo = Photo.new(params[:photo]) if @photo.save redirect_to photo_url(@photo) else flash[:notice] = ''Yo...