Sha256: f7898607ac2d946ef86b5d4f948fd8f85d178a581a70c60892ef8ad0b0f5c839
Contents?: true
Size: 274 Bytes
Versions: 21
Compression:
Stored size: 274 Bytes
Contents
module MyForum class Attachment < Image belongs_to :user, class_name: 'MyForum::User' belongs_to :post, class_name: 'MyForum::Post' UPLOAD_PATH = File.join(Rails.public_path, 'uploads', 'attachments') URL = File.join('/uploads', 'attachments') end end
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
my_forum-0.0.1.beta5 | app/models/my_forum/attachment.rb |