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 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---