method

host=

rails latest stable - Class: ActiveStorage::Current

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

host=(host)
public

No documentation available.

# File activestorage/app/models/active_storage/current.rb, line 6
  def host=(host)
    ActiveSupport::Deprecation.warn("ActiveStorage::Current.host= is deprecated, instead use ActiveStorage::Current.url_options=")
    self.url_options = { host: host }
  end