Sha256: 7848ad20966340e8c23b8890752740b94be87b483948d6e813fd02fb0346b062

Contents?: true

Size: 505 Bytes

Versions: 2

Compression:

Stored size: 505 Bytes

Contents

# @deprecated - we are moving away from this approach; this code will be removed no later than release 6.x 
# To make a superuser record, look up the ID (not the login) of a previously created user,
# and then insert that id into the superusers table
class Superuser < ActiveRecord::Base
  belongs_to :user
    
  def initialize
    ActiveSupport::Deprecation.warn("Superuser is deprecated and will be removed from HydraHead in release 5 or 6; we are moving away from this approach.")
    super
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hydra-head-4.0.3 app/models/superuser.rb
hydra-head-4.0.2 app/models/superuser.rb