I'm using form_tag and i got errors as " /LOCALS~1/Temp/stream.3468.0 is not recognized by the 'identify' command." when i hit submit
On Sep 3, 3:20 pm, Adam Jones <a...@digirati.co.nz> wrote: > we probably need to see your controller code first > > > > On Thu, Sep 3, 2009 at 10:08 PM, Kart <akramwasim1...@gmail.com> wrote: > > > Hi all, > > I've installed paperclips but > > paperclip is not saving the files > > > my model has > > > has_attached_file :attachment,:styles => { :medium => "300x300>", > > :thumb => "100x100>" } > > > and i have db migration as > > > class AddAttachmentToPolicies < ActiveRecord::Migration > > def self.up > > add_column :policies, :attachment_file_name, :string > > add_column :policies, :attachment_content_type, :string > > add_column :policies, :attachment_file_size, :integer > > end > > > def self.down > > remove_column :policies, :attachment_file_name > > remove_column :policies, :attachment_content_type > > remove_column :policies, :attachment_file_size > > end > > > end > > > and I have that plugin as well > > > but its not saving the files and I'm getting values as null in my DB > > for the above set feilds > > > Plz help me in this regard > > -- > Adam Jones > Digirati Limited NZ > a...@digirati.co.nz > P 027 233 6933 --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---