mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-13 21:44:32 +08:00
init project
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
module Validate
|
||||
class UserExtension
|
||||
include ActiveModel::Model
|
||||
attr_accessor :location
|
||||
|
||||
validates :location, presence: true
|
||||
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user