app/models/lolita/upload/file.rb in lolita-file-upload-0.4.12 vs app/models/lolita/upload/file.rb in lolita-file-upload-0.4.13

- old
+ new

@@ -1,9 +1,9 @@ module Lolita module Upload class File < ActiveRecord::Base set_table_name :lolita_files - + attr_accessible :asset, :name, :fileable_type, :asset_extension mount_uploader :asset, FileUploader belongs_to :fileable, :polymorphic=>true #validate :size_limit FIXME to work with more than one tab before_save :set_metadata