6 lines
102 B
Ruby
6 lines
102 B
Ruby
|
class Post < ApplicationRecord
|
||
|
belongs_to :profile
|
||
|
|
||
|
validates :text, length: { maximum: 200 }
|
||
|
end
|