class method self.public_path=

Ruby on Rails 3.0.20

Last seen in v3.0.20

Available in: v2.2.3 v2.3.18 v3.0.20

Signature

self.public_path=(path)

No documentation comment.

Parameters

path req
Source
# File railties/lib/rails.rb, line 99
    def public_path=(path)
      ActiveSupport::Deprecation.warn "Setting Rails.public_path= is deprecated. " <<
        "Please set paths.public = in config/application.rb instead.", caller
    end

Defined in railties/lib/rails.rb line 99 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close