fixing conflicts [#8]

This commit is contained in:
rgarcia
2015-07-18 17:30:31 +02:00
2 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
class Debate < ActiveRecord::Base
acts_as_taggable
belongs_to :author, class_name: 'User', foreign_key: 'author_id'
validates :title, presence: true