Sha256: 7a30c6c87f11eaad075ad274c5d701fd394172e044495948e66e26b346dc6030

Contents?: true

Size: 133 Bytes

Versions: 7

Compression:

Stored size: 133 Bytes

Contents

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

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
refile-0.3.0 spec/refile/test_app/app/models/post.rb
refile-0.2.5 spec/refile/test_app/app/models/post.rb
refile-0.2.4 spec/refile/test_app/app/models/post.rb
refile-0.2.3 spec/refile/test_app/app/models/post.rb
refile-0.2.2 spec/refile/test_app/app/models/post.rb
defile-0.2.1 spec/defile/test_app/app/models/post.rb
defile-0.2.0 spec/defile/test_app/app/models/post.rb