diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-07-04 11:12:21 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-07-04 11:12:21 +0100 |
commit | 765d7fa16a428ec296d2278bc369d3680c7afaac (patch) | |
tree | 16d3ede6a3eb74bc90b4b1fe16126ef6f4f8a74f /app/models | |
parent | a9f1d84e7810936f7917c8a367b4713ea77554c9 (diff) | |
parent | d95a5eb0b6aaba3a0d88ab0f2fe4c948c051ecc9 (diff) |
Merge branch 'release/0.6.2'0.6.2
Conflicts:
doc/INSTALL.md
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/public_body.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/public_body.rb b/app/models/public_body.rb index a372de435..bc8f084bb 100644 --- a/app/models/public_body.rb +++ b/app/models/public_body.rb @@ -95,7 +95,7 @@ class PublicBody < ActiveRecord::Base self.publication_scheme = "" if self.publication_scheme.nil? # Set an API key if there isn’t one - self.api_key = SecureRandom.base64(32) if self.api_key.nil? + self.api_key = SecureRandom.base64(33) if self.api_key.nil? end # like find_by_url_name but also search historic url_name if none found |