mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 19:53:05 +08:00
10 lines
158 B
Ruby
10 lines
158 B
Ruby
module Validate
|
|
class UserExtension
|
|
include ActiveModel::Model
|
|
attr_accessor :location
|
|
|
|
validates :location, presence: true
|
|
|
|
end
|
|
end
|