Update source: pull from git

This commit is contained in:
chris2tof committed 2011-08-23 15:01:22 +08:00
1 parent 4f38074932
commit 2842001a3b
7 files changed
+35 -7

No files matched your search

+2
View File
@@ -13,6 +13,8 @@ class Site
field :school
field :department
field :up_to_date, :type => Boolean
def generate_keys
private_key = OpenSSL::PKey::RSA.generate(2048)
self.public_key = private_key.public_key.to_s