Sha256: a5ec47c3ca9b0a3f7e9154e1d414fc82b94600e7552cd55d09a01ff6b2e74b0d
Contents?: true
Size: 545 Bytes
Versions: 4
Compression:
Stored size: 545 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 require 'deprecation' class Superuser < ActiveRecord::Base extend Deprecation belongs_to :user def initialize Deprecation.warn(Superuser, "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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
hydra-head-4.1.3 | app/models/superuser.rb |
hydra-head-4.1.2 | app/models/superuser.rb |
hydra-head-4.1.1 | app/models/superuser.rb |
hydra-head-4.1.0 | app/models/superuser.rb |