app/models/alchemy/attachment.rb in alchemy_cms-2.2.rc8 vs app/models/alchemy/attachment.rb in alchemy_cms-2.2.rc11
- old
+ new
@@ -1,10 +1,10 @@
module Alchemy
class Attachment < ActiveRecord::Base
attr_accessible :uploaded_data, :name
- stampable
+ stampable(:stamper_class_name => 'Alchemy::User')
has_attachment(
:storage => :file_system,
:file_system_path => 'uploads/attachments',
:size => 0.kilobytes..1000.megabytes