Discogs artist search
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
class Session < ActiveRecord::Base
|
||||
belongs_to :user
|
||||
|
||||
def self.generate_key
|
||||
Digest::SHA1.hexdigest(Beathaven::Application.config.secret_token + Time.now.to_f.to_s + Random.rand().to_s)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user