search for: yourpic

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

Did you mean: yourpdc
2006 Feb 16
1
file_column problem
...o my table called "image" 2. This is my class: class User < ActiveRecord::Base file_column :image, :magick => { :geometry => "80x80>" } attr_accessor :new_password ... rest of class 3. In my controller I have the following code: # loads up the form def yourpic @user = User.new(session[:user]) end # handles the form def updateyourpic @user = User.new(@params[:user]) redirect_to :action => ''account'', :id => @user end 4. Form looks like this: <%= form_tag({ :action => ''updateyourpic'' , :i...