Reputation: 2495
Is there are any simple plugin like paperclip or attachment_fu without any special image stuff? I want something like
class Attachment < CoolPlugin::File
belongs_to :post
end
And then do
@post.attachments.create(params[:attachment])
in my controller.
Thank you.
Upvotes: 0
Views: 56
Reputation: 22741
I haven't used it but a friend told me CarrierWave is better if you want to make an entire model to represent the attachment instead of saying that an attachment is part of another model.
Upvotes: 0
Reputation: 107728
Just use paperclip. By default it won't use the image processing unless you give it a :styles
hash.
Upvotes: 1