add attachment model and add paperclip

This commit is contained in:
Reinier Balt 2014-07-03 23:21:39 +02:00
parent 013b260a1b
commit 76de5bf2b3
8 changed files with 78 additions and 22 deletions

7
test/fixtures/attachments.yml vendored Normal file
View file

@ -0,0 +1,7 @@
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
todo_id:
two:
todo_id:

View file

@ -0,0 +1,7 @@
require 'test_helper'
class AttachmentTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end