test/dummy/app/models/article.rb in translation_center-1.3.0 vs test/dummy/app/models/article.rb in translation_center-1.3.1

- old
+ new

@@ -1,5 +1,7 @@ class Article < ActiveRecord::Base attr_accessible :title, :content + validates :title, uniqueness: true + end