Sha256: bf619c48148bb043a5f7024f5df732e7a908fa890be13ca87a10465219dd7f51

Contents?: true

Size: 159 Bytes

Versions: 2

Compression:

Stored size: 159 Bytes

Contents

module MiniBlog
  class Image < ApplicationRecord
    mount_uploader :content, MiniBlog::ImageContentUploader
    validates :content, presence: true
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mini_blog-0.1.1 app/models/mini_blog/image.rb
mini_blog-0.1.0 app/models/mini_blog/image.rb