Merge pull request #1475 from biosistemika/mm-sci-2982-user-variables-bug

SciNoteSCI-2982 Investigate (plus, fix) the User.variables on my.scinote.net
This commit is contained in:
Miha Mencin 2019-02-01 09:46:19 +01:00 committed by GitHub
commit e84ab5b550
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
class JsonbHashSerializer
def self.dump(hash)
hash.to_json
hash.nil? ? '{}' : hash.to_json
end
def self.load(hash)