Hi I am using file column plugin, this plugin uploads my image files properly, This plugin is integrated with RMagic and resizes my image files properly. I also want to upload doc, and excel files but that plugin does not uploads these files. If any one can tell me how can i upload these files using file column plugin In controller i have this def upload_file if params[:user_picture]!=nil params[:user_picture].each do |id, image| @user_picture PostAttachments.new(image) #@user_picture.user_id = @ current_user.id @user_picture.posts_id = @ obj_post.id @user_picture.save end end In model i am using class PostAttachments < ActiveRecord::Base belongs_to :sections_posts file_column :image, :magick => { :versions => { "thumb" => "50x50", "medium" => "170x107" } } end --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---