Sha256: 5d502d174bed838cf5d9b8a314a38afb49ff8afdf894e8f8404dd492c1a79ade
Contents?: true
Size: 505 Bytes
Versions: 7
Compression:
Stored size: 505 Bytes
Contents
module CmsDeprecatedMultisite extend ActiveSupport::Concern included do scope :site, ->(_sid) { ActiveSupport::Deprecation.warn 'Model.site scope is deprecated and will be removed in the future' all() } end def site_id ActiveSupport::Deprecation.warn '#site_id is deprecated and will be removed in the future' return 0 end def site_id=(_id) ActiveSupport::Deprecation.warn '#site_id is deprecated and will be removed in the future' return nil end end
Version data entries
7 entries across 7 versions & 1 rubygems