Skip to content

Commit

Permalink
Refs #18: Add paper validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus-Brand committed Nov 3, 2017
1 parent c68c2d4 commit f8e9a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/paper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
class Paper < ActiveRecord::Base
validates :title, :venue, presence: true
validates :title, :venue, :year, presence: true
end

0 comments on commit f8e9a20

Please sign in to comment.