Sha256: c1fa4212cbd8223cbe63a6acf0428dd9f0c0cf7d439c089ce880da0fbb2a8d4d

Contents?: true

Size: 147 Bytes

Versions: 9

Compression:

Stored size: 147 Bytes

Contents

class Post < ActiveRecord::Base
  attachment :image, type: :image
  attachment :document, cache: :limited_cache
  validates_presence_of :title
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
refile-0.5.5 spec/refile/test_app/app/models/post.rb
refile-0.5.4 spec/refile/test_app/app/models/post.rb
refile-0.5.3 spec/refile/test_app/app/models/post.rb
refile-0.5.2 spec/refile/test_app/app/models/post.rb
refile-0.5.1 spec/refile/test_app/app/models/post.rb
refile-0.5.0 spec/refile/test_app/app/models/post.rb
refile-0.4.2 spec/refile/test_app/app/models/post.rb
refile-0.4.1 spec/refile/test_app/app/models/post.rb
refile-0.4.0 spec/refile/test_app/app/models/post.rb