Commit 123f77ee by Đường Sỹ Hoàng

Fixed coding styles

parent 643517bf
...@@ -5,6 +5,7 @@ class Micropost < ApplicationRecord ...@@ -5,6 +5,7 @@ class Micropost < ApplicationRecord
belongs_to :user belongs_to :user
validates :user_id, presence: true validates :user_id, presence: true
validates :content, presence: true, length: { maximum: 140 } validates :content, presence: true, length: { maximum: 140 }
validate :picture_size validate :picture_size
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment