mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 20:55:46 +08:00
FIx code review
This commit is contained in:
@@ -3,5 +3,8 @@ class Ci::RemoteBase < ApplicationRecord
|
||||
|
||||
establish_connection Rails.configuration.database_configuration[Rails.env]["ci_server_db"]
|
||||
|
||||
|
||||
def generate_code
|
||||
[*'a'..'z',*'0'..'9',*'A'..'Z'].sample(32).join
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user