Changes and improvements to the process.

This commit is contained in:
Tomasz Lagodzinski
2020-09-07 16:41:14 +02:00
parent 90184c793a
commit 0e75e7a6c2
103 changed files with 9211 additions and 10 deletions
+3
View File
@@ -0,0 +1,3 @@
class ApplicationRecord < ActiveRecord::Base
self.abstract_class = true
end
+4
View File
@@ -0,0 +1,4 @@
class Article < ApplicationRecord
validates :title, presence: true,
length: { minimum: 5 }
end
View File