diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-07-31 19:03:22 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-31 19:03:22 +0900 |
commit | 69f6c4d2af43f2e19c73b89755c3c19733207987 (patch) | |
tree | 03a5b5d9de745916b331961d3089ddbf883ec601 | |
parent | 0f6a4891fee41a083a80292c7b27d5822b6f6db6 (diff) | |
parent | b1589f671224adbb30eb54799483218376752411 (diff) | |
download | rails-69f6c4d2af43f2e19c73b89755c3c19733207987.tar.gz rails-69f6c4d2af43f2e19c73b89755c3c19733207987.tar.bz2 rails-69f6c4d2af43f2e19c73b89755c3c19733207987.zip |
Merge pull request #33486 from f-mer/patch-1
Fix example in thread_mattr_accessor documentation
[ci skip]
-rw-r--r-- | activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb b/activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb index e777f02cb6..b1788a000b 100644 --- a/activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +++ b/activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb @@ -136,7 +136,7 @@ class Module # Or pass <tt>instance_accessor: false</tt>, to opt out both instance methods. # # class Current - # mattr_accessor :user, instance_accessor: false + # thread_mattr_accessor :user, instance_accessor: false # end # # Current.new.user = "DHH" # => NoMethodError |