diff --git a/app/models/app.rb b/app/models/app.rb index d6831f3..b87f7d8 100644 --- a/app/models/app.rb +++ b/app/models/app.rb @@ -14,14 +14,6 @@ class App # Some legacy apps may have string as key instead of BSON::ObjectID identity :type => String - # Bug fix - # # There seems to be a Mongoid bug making it impossible to use String identity with references_many feature: - # # https://github.com/mongoid/mongoid/issues/703 - # # Using 32 character string as a workaround. - # before_create do |r| - # r.id = ActiveSupport::SecureRandom.hex - # end - embeds_many :watchers embeds_many :deploys embeds_one :issue_tracker -- libgit2 0.21.2