diff options
Diffstat (limited to 'guides/code/getting_started/app/models/article.rb')
-rw-r--r-- | guides/code/getting_started/app/models/article.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/guides/code/getting_started/app/models/article.rb b/guides/code/getting_started/app/models/article.rb deleted file mode 100644 index 6fc7888be2..0000000000 --- a/guides/code/getting_started/app/models/article.rb +++ /dev/null @@ -1,7 +0,0 @@ -class Article < ActiveRecord::Base - has_many :comments, dependent: :destroy - - validates :title, - presence: true, - length: { minimum: 5 } -end |