Skip to content

Commit

Permalink
FIxed mass-assignment of md5sum
Browse files Browse the repository at this point in the history
  • Loading branch information
philippbayer committed Feb 26, 2013
1 parent e042aab commit fa0c3c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/genotype.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Genotype < ActiveRecord::Base
content_type: { content_type: 'text/plain' },
size: { in: 0..100.megabytes }

attr_accessible :genotype, :filetype, :user_id
attr_accessible :genotype, :filetype, :user_id, :md5sum
after_create :parse_genotype
before_destroy :delete_genotype

Expand Down

0 comments on commit fa0c3c8

Please sign in to comment.