Sha256: ef06d20ea98ee90b7df5c5c662b90b20c2d8d3f47ba82590f2bdf0ce1550c65a

Contents?: true

Size: 187 Bytes

Versions: 3

Compression:

Stored size: 187 Bytes

Contents

class Post < ActiveRecord::Base
  attr_accessible :content, :title, :image
  has_attached_file :image
  accepts_uploaded_file_for :image
  do_not_validate_attachment_file_type :image
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ouvrages_file_uploader-0.0.3 test/dummy/app/models/post.rb
ouvrages_file_uploader-0.0.2 test/dummy/app/models/post.rb
ouvrages_file_uploader-0.0.1 test/dummy/app/models/post.rb