Skip to content

Commit 07a96b9

Browse files
committed
add Rails 8.1.0.beta1< docs
1 parent b557190 commit 07a96b9

File tree

2,749 files changed

+26195
-15439
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,749 files changed

+26195
-15439
lines changed

β€Žsrc/classes/AbstractController.htmlβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div class="main">
66
<div class="banner">
77

8-
<span>Ruby on Rails 8.0.3</span><br />
8+
<span>Ruby on Rails 8.1.0.beta1</span><br />
99

1010
<div class="type">Module</div>
1111
<h1>
@@ -42,6 +42,8 @@ <h1>
4242

4343
<li><a href="../files/actionpack/lib/abstract_controller/url_for_rb.html">actionpack/lib/abstract_controller/url_for.rb</a></li>
4444

45+
<li><a href="../files/actionpack/lib/action_controller/metal/head_rb.html">actionpack/lib/action_controller/metal/head.rb</a></li>
46+
4547
<li><a href="../files/actionpack/lib/action_controller/metal/redirecting_rb.html">actionpack/lib/action_controller/metal/redirecting.rb</a></li>
4648

4749
<li><a href="../files/actionpack/lib/action_controller/metal/rendering_rb.html">actionpack/lib/action_controller/metal/rendering.rb</a></li>

β€Žsrc/classes/AbstractController/ActionNotFound.htmlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div class="main">
66
<div class="banner">
77

8-
<span>Ruby on Rails 8.0.3</span><br />
8+
<span>Ruby on Rails 8.1.0.beta1</span><br />
99

1010
<div class="type">Class</div>
1111
<h1>

β€Žsrc/classes/AbstractController/Base.htmlβ€Ž

Lines changed: 31 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div class="main">
66
<div class="banner">
77

8-
<span>Ruby on Rails 8.0.3</span><br />
8+
<span>Ruby on Rails 8.1.0.beta1</span><br />
99

1010
<div class="type">Class</div>
1111
<h1>
@@ -73,11 +73,11 @@ <h2 id="methods">Methods</h2>
7373
</li>
7474

7575
<li>
76-
<a href="#method-c-controller_path">controller_path</a>
76+
<a href="#method-i-controller_path">controller_path</a>
7777
</li>
7878

7979
<li>
80-
<a href="#method-i-controller_path">controller_path</a>
80+
<a href="#method-c-controller_path">controller_path</a>
8181
</li>
8282

8383
<li>
@@ -112,20 +112,6 @@ <h2 id="methods">Methods</h2>
112112

113113

114114

115-
<!-- Includes -->
116-
<h2 id="included-modules">Included Modules</h2>
117-
<ul>
118-
119-
<li>
120-
121-
<a href="../ActiveSupport/Configurable.html">
122-
ActiveSupport::Configurable
123-
</a>
124-
125-
</li>
126-
127-
</ul>
128-
129115

130116

131117

@@ -186,12 +172,12 @@ <h3 id="method-c-abstract-21">
186172
<span class="label">πŸ“ Source code</span>
187173
</summary>
188174

189-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 58
175+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 57
190176
def abstract!
191177
@abstract = true
192178
end</code></pre>
193179

194-
<a href="https://github.com/rails/rails/blob/529f933fc8b13114d308dd0752f76a9e293c8537/actionpack/lib/abstract_controller/base.rb#L58" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
180+
<a href="https://github.com/rails/rails/blob/80827ca7ff33ca3026f2c74fe8249ccc6f513318/actionpack/lib/abstract_controller/base.rb#L57" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
195181

196182
</details>
197183

@@ -234,7 +220,7 @@ <h3 id="method-c-action_methods">
234220
end
235221
end</code></pre>
236222

237-
<a href="https://github.com/rails/rails/blob/529f933fc8b13114d308dd0752f76a9e293c8537/actionpack/lib/abstract_controller/base.rb#L93" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
223+
<a href="https://github.com/rails/rails/blob/80827ca7ff33ca3026f2c74fe8249ccc6f513318/actionpack/lib/abstract_controller/base.rb#L93" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
238224

239225
</details>
240226

@@ -269,7 +255,7 @@ <h3 id="method-c-clear_action_methods-21">
269255
@action_methods = nil
270256
end</code></pre>
271257

272-
<a href="https://github.com/rails/rails/blob/529f933fc8b13114d308dd0752f76a9e293c8537/actionpack/lib/abstract_controller/base.rb#L108" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
258+
<a href="https://github.com/rails/rails/blob/80827ca7ff33ca3026f2c74fe8249ccc6f513318/actionpack/lib/abstract_controller/base.rb#L108" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
273259

274260
</details>
275261

@@ -311,7 +297,7 @@ <h3 id="method-c-controller_path">
311297
@controller_path ||= name.delete_suffix(&quot;Controller&quot;).underscore unless anonymous?
312298
end</code></pre>
313299

314-
<a href="https://github.com/rails/rails/blob/529f933fc8b13114d308dd0752f76a9e293c8537/actionpack/lib/abstract_controller/base.rb#L120" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
300+
<a href="https://github.com/rails/rails/blob/80827ca7ff33ca3026f2c74fe8249ccc6f513318/actionpack/lib/abstract_controller/base.rb#L120" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
315301

316302
</details>
317303

@@ -354,7 +340,7 @@ <h3 id="method-c-internal_methods">
354340
controller.public_instance_methods(true) - methods
355341
end</code></pre>
356342

357-
<a href="https://github.com/rails/rails/blob/529f933fc8b13114d308dd0752f76a9e293c8537/actionpack/lib/abstract_controller/base.rb#L77" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
343+
<a href="https://github.com/rails/rails/blob/80827ca7ff33ca3026f2c74fe8249ccc6f513318/actionpack/lib/abstract_controller/base.rb#L77" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
358344

359345
</details>
360346

@@ -384,13 +370,13 @@ <h3 id="method-c-method_added">
384370
<span class="label">πŸ“ Source code</span>
385371
</summary>
386372

387-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 125
373+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 129
388374
def method_added(name)
389375
super
390376
clear_action_methods!
391377
end</code></pre>
392378

393-
<a href="https://github.com/rails/rails/blob/529f933fc8b13114d308dd0752f76a9e293c8537/actionpack/lib/abstract_controller/base.rb#L125" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
379+
<a href="https://github.com/rails/rails/blob/80827ca7ff33ca3026f2c74fe8249ccc6f513318/actionpack/lib/abstract_controller/base.rb#L129" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
394380

395381
</details>
396382

@@ -405,7 +391,7 @@ <h3 id="method-c-supports_path-3F">
405391

406392

407393
<div class="description">
408-
<p>Returns true if the given controller is capable of rendering a path. A subclass of <a href="Base.html"><code>AbstractController::Base</code></a> may return false. An Email controller for example does not support paths, only full URLs.</p>
394+
<p>Returns true if the given controller is capable of rendering a path. A subclass of <code>AbstractController::Base</code> may return false. An Email controller for example does not support paths, only full URLs.</p>
409395
</div>
410396

411397

@@ -420,12 +406,12 @@ <h3 id="method-c-supports_path-3F">
420406
<span class="label">πŸ“ Source code</span>
421407
</summary>
422408

423-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 189
409+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 193
424410
def self.supports_path?
425411
true
426412
end</code></pre>
427413

428-
<a href="https://github.com/rails/rails/blob/529f933fc8b13114d308dd0752f76a9e293c8537/actionpack/lib/abstract_controller/base.rb#L189" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
414+
<a href="https://github.com/rails/rails/blob/80827ca7ff33ca3026f2c74fe8249ccc6f513318/actionpack/lib/abstract_controller/base.rb#L193" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
429415

430416
</details>
431417

@@ -459,12 +445,12 @@ <h3 id="method-i-action_methods">
459445
<span class="label">πŸ“ Source code</span>
460446
</summary>
461447

462-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 161
448+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 165
463449
def action_methods
464450
self.class.action_methods
465451
end</code></pre>
466452

467-
<a href="https://github.com/rails/rails/blob/529f933fc8b13114d308dd0752f76a9e293c8537/actionpack/lib/abstract_controller/base.rb#L161" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
453+
<a href="https://github.com/rails/rails/blob/80827ca7ff33ca3026f2c74fe8249ccc6f513318/actionpack/lib/abstract_controller/base.rb#L165" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
468454

469455
</details>
470456

@@ -494,11 +480,11 @@ <h3 id="method-i-action_name">
494480
<span class="label">πŸ“ Source code</span>
495481
</summary>
496482

497-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 44
483+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 43
498484
attr_internal :action_name
499485
</code></pre>
500486

501-
<a href="https://github.com/rails/rails/blob/529f933fc8b13114d308dd0752f76a9e293c8537/actionpack/lib/abstract_controller/base.rb#L44" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
487+
<a href="https://github.com/rails/rails/blob/80827ca7ff33ca3026f2c74fe8249ccc6f513318/actionpack/lib/abstract_controller/base.rb#L43" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
502488

503489
</details>
504490

@@ -519,7 +505,7 @@ <h3 id="method-i-available_action-3F">
519505

520506
<h4 id="method-i-available_action-3F-label-Parameters">Parameters</h4>
521507
<ul><li>
522-
<p><a href="Base.html#method-i-action_name"><code>action_name</code></a> - The name of an action to be tested</p>
508+
<p><code>action_name</code> - The name of an action to be tested</p>
523509
</li></ul>
524510
</div>
525511

@@ -535,12 +521,12 @@ <h4 id="method-i-available_action-3F-label-Parameters">Parameters</h4>
535521
<span class="label">πŸ“ Source code</span>
536522
</summary>
537523

538-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 176
524+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 180
539525
def available_action?(action_name)
540526
_find_action_name(action_name)
541527
end</code></pre>
542528

543-
<a href="https://github.com/rails/rails/blob/529f933fc8b13114d308dd0752f76a9e293c8537/actionpack/lib/abstract_controller/base.rb#L176" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
529+
<a href="https://github.com/rails/rails/blob/80827ca7ff33ca3026f2c74fe8249ccc6f513318/actionpack/lib/abstract_controller/base.rb#L180" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
544530

545531
</details>
546532

@@ -570,12 +556,12 @@ <h3 id="method-i-controller_path">
570556
<span class="label">πŸ“ Source code</span>
571557
</summary>
572558

573-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 156
559+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 160
574560
def controller_path
575561
self.class.controller_path
576562
end</code></pre>
577563

578-
<a href="https://github.com/rails/rails/blob/529f933fc8b13114d308dd0752f76a9e293c8537/actionpack/lib/abstract_controller/base.rb#L156" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
564+
<a href="https://github.com/rails/rails/blob/80827ca7ff33ca3026f2c74fe8249ccc6f513318/actionpack/lib/abstract_controller/base.rb#L160" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
579565

580566
</details>
581567

@@ -605,11 +591,11 @@ <h3 id="method-i-formats">
605591
<span class="label">πŸ“ Source code</span>
606592
</summary>
607593

608-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 48
594+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 47
609595
attr_internal :formats
610596
</code></pre>
611597

612-
<a href="https://github.com/rails/rails/blob/529f933fc8b13114d308dd0752f76a9e293c8537/actionpack/lib/abstract_controller/base.rb#L48" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
598+
<a href="https://github.com/rails/rails/blob/80827ca7ff33ca3026f2c74fe8249ccc6f513318/actionpack/lib/abstract_controller/base.rb#L47" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
613599

614600
</details>
615601

@@ -639,12 +625,12 @@ <h3 id="method-i-performed-3F">
639625
<span class="label">πŸ“ Source code</span>
640626
</summary>
641627

642-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 182
628+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 186
643629
def performed?
644630
response_body
645631
end</code></pre>
646632

647-
<a href="https://github.com/rails/rails/blob/529f933fc8b13114d308dd0752f76a9e293c8537/actionpack/lib/abstract_controller/base.rb#L182" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
633+
<a href="https://github.com/rails/rails/blob/80827ca7ff33ca3026f2c74fe8249ccc6f513318/actionpack/lib/abstract_controller/base.rb#L186" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
648634

649635
</details>
650636

@@ -676,7 +662,7 @@ <h3 id="method-i-process">
676662
<span class="label">πŸ“ Source code</span>
677663
</summary>
678664

679-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 143
665+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 147
680666
def process(action, ...)
681667
@_action_name = action.to_s
682668

@@ -689,7 +675,7 @@ <h3 id="method-i-process">
689675
process_action(action_name, ...)
690676
end</code></pre>
691677

692-
<a href="https://github.com/rails/rails/blob/529f933fc8b13114d308dd0752f76a9e293c8537/actionpack/lib/abstract_controller/base.rb#L143" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
678+
<a href="https://github.com/rails/rails/blob/80827ca7ff33ca3026f2c74fe8249ccc6f513318/actionpack/lib/abstract_controller/base.rb#L147" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
693679

694680
</details>
695681

@@ -719,11 +705,11 @@ <h3 id="method-i-response_body">
719705
<span class="label">πŸ“ Source code</span>
720706
</summary>
721707

722-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 40
708+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/base.rb, line 39
723709
attr_internal :response_body
724710
</code></pre>
725711

726-
<a href="https://github.com/rails/rails/blob/529f933fc8b13114d308dd0752f76a9e293c8537/actionpack/lib/abstract_controller/base.rb#L40" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
712+
<a href="https://github.com/rails/rails/blob/80827ca7ff33ca3026f2c74fe8249ccc6f513318/actionpack/lib/abstract_controller/base.rb#L39" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
727713

728714
</details>
729715

β€Žsrc/classes/AbstractController/Caching.htmlβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div class="main">
66
<div class="banner">
77

8-
<span>Ruby on Rails 8.0.3</span><br />
8+
<span>Ruby on Rails 8.1.0.beta1</span><br />
99

1010
<div class="type">Module</div>
1111
<h1>
@@ -126,12 +126,12 @@ <h3 id="method-i-view_cache_dependencies">
126126
<span class="label">πŸ“ Source code</span>
127127
</summary>
128128

129-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching.rb, line 54
129+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching.rb, line 57
130130
def view_cache_dependencies
131131
self.class._view_cache_dependencies.filter_map { |dep| instance_exec(&amp;dep) }
132132
end</code></pre>
133133

134-
<a href="https://github.com/rails/rails/blob/529f933fc8b13114d308dd0752f76a9e293c8537/actionpack/lib/abstract_controller/caching.rb#L54" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
134+
<a href="https://github.com/rails/rails/blob/80827ca7ff33ca3026f2c74fe8249ccc6f513318/actionpack/lib/abstract_controller/caching.rb#L57" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
135135

136136
</details>
137137

@@ -164,7 +164,7 @@ <h3 id="method-i-cache">
164164
<span class="label">πŸ“ Source code</span>
165165
</summary>
166166

167-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching.rb, line 60
167+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching.rb, line 63
168168
def cache(key, options = {}, &amp;block) # :doc:
169169
if cache_configured?
170170
cache_store.fetch(ActiveSupport::Cache.expand_cache_key(key, :controller), options, &amp;block)
@@ -173,7 +173,7 @@ <h3 id="method-i-cache">
173173
end
174174
end</code></pre>
175175

176-
<a href="https://github.com/rails/rails/blob/529f933fc8b13114d308dd0752f76a9e293c8537/actionpack/lib/abstract_controller/caching.rb#L60" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
176+
<a href="https://github.com/rails/rails/blob/80827ca7ff33ca3026f2c74fe8249ccc6f513318/actionpack/lib/abstract_controller/caching.rb#L63" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
177177

178178
</details>
179179

β€Žsrc/classes/AbstractController/Caching/ClassMethods.htmlβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div class="main">
66
<div class="banner">
77

8-
<span>Ruby on Rails 8.0.3</span><br />
8+
<span>Ruby on Rails 8.1.0.beta1</span><br />
99

1010
<div class="type">Module</div>
1111
<h1>
@@ -81,12 +81,12 @@ <h3 id="method-i-view_cache_dependency">
8181
<span class="label">πŸ“ Source code</span>
8282
</summary>
8383

84-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching.rb, line 49
84+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching.rb, line 52
8585
def view_cache_dependency(&amp;dependency)
8686
self._view_cache_dependencies += [dependency]
8787
end</code></pre>
8888

89-
<a href="https://github.com/rails/rails/blob/529f933fc8b13114d308dd0752f76a9e293c8537/actionpack/lib/abstract_controller/caching.rb#L49" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
89+
<a href="https://github.com/rails/rails/blob/80827ca7ff33ca3026f2c74fe8249ccc6f513318/actionpack/lib/abstract_controller/caching.rb#L52" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
9090

9191
</details>
9292

0 commit comments

Comments
Β (0)