compony 0.3.2 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +30 -0
- data/Gemfile.lock +3 -3
- data/README.md +41 -0
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/compony.gemspec +6 -6
- data/doc/ComponentGenerator.html +3 -3
- data/doc/Components.html +3 -3
- data/doc/ComponentsGenerator.html +3 -3
- data/doc/Compony/Component.html +11 -11
- data/doc/Compony/ComponentMixins/Default/Labelling.html +3 -3
- data/doc/Compony/ComponentMixins/Default/Standalone/ResourcefulVerbDsl.html +3 -3
- data/doc/Compony/ComponentMixins/Default/Standalone/StandaloneDsl.html +8 -8
- data/doc/Compony/ComponentMixins/Default/Standalone/VerbDsl.html +3 -3
- data/doc/Compony/ComponentMixins/Default/Standalone.html +3 -3
- data/doc/Compony/ComponentMixins/Default.html +3 -3
- data/doc/Compony/ComponentMixins/Resourceful.html +3 -3
- data/doc/Compony/ComponentMixins.html +3 -3
- data/doc/Compony/Components/Button.html +3 -3
- data/doc/Compony/Components/Destroy.html +3 -3
- data/doc/Compony/Components/Edit.html +20 -20
- data/doc/Compony/Components/Form.html +318 -92
- data/doc/Compony/Components/New.html +20 -20
- data/doc/Compony/Components/WithForm.html +96 -21
- data/doc/Compony/Components.html +3 -3
- data/doc/Compony/ControllerMixin.html +3 -3
- data/doc/Compony/Engine.html +3 -3
- data/doc/Compony/MethodAccessibleHash.html +3 -3
- data/doc/Compony/ModelFields/Anchormodel.html +3 -3
- data/doc/Compony/ModelFields/Association.html +3 -3
- data/doc/Compony/ModelFields/Attachment.html +3 -3
- data/doc/Compony/ModelFields/Base.html +3 -3
- data/doc/Compony/ModelFields/Boolean.html +3 -3
- data/doc/Compony/ModelFields/Color.html +3 -3
- data/doc/Compony/ModelFields/Currency.html +3 -3
- data/doc/Compony/ModelFields/Date.html +3 -3
- data/doc/Compony/ModelFields/Datetime.html +3 -3
- data/doc/Compony/ModelFields/Decimal.html +3 -3
- data/doc/Compony/ModelFields/Email.html +3 -3
- data/doc/Compony/ModelFields/Float.html +3 -3
- data/doc/Compony/ModelFields/Integer.html +3 -3
- data/doc/Compony/ModelFields/Percentage.html +3 -3
- data/doc/Compony/ModelFields/Phone.html +3 -3
- data/doc/Compony/ModelFields/RichText.html +3 -3
- data/doc/Compony/ModelFields/String.html +3 -3
- data/doc/Compony/ModelFields/Text.html +3 -3
- data/doc/Compony/ModelFields/Time.html +3 -3
- data/doc/Compony/ModelFields/Url.html +3 -3
- data/doc/Compony/ModelFields.html +3 -3
- data/doc/Compony/ModelMixin.html +28 -28
- data/doc/Compony/NaturalOrdering.html +3 -3
- data/doc/Compony/RequestContext.html +72 -5
- data/doc/Compony/Version.html +3 -3
- data/doc/Compony/ViewHelpers.html +3 -3
- data/doc/Compony.html +4 -4
- data/doc/ComponyController.html +3 -3
- data/doc/_index.html +4 -4
- data/doc/file.README.html +44 -3
- data/doc/frames.html +10 -5
- data/doc/index.html +44 -3
- data/doc/method_list.html +74 -42
- data/doc/top-level-namespace.html +3 -3
- data/lib/compony/component.rb +4 -4
- data/lib/compony/component_mixins/default/standalone/standalone_dsl.rb +3 -3
- data/lib/compony/components/edit.rb +4 -1
- data/lib/compony/components/form.rb +74 -9
- data/lib/compony/components/new.rb +4 -1
- data/lib/compony/components/with_form.rb +12 -1
- data/lib/compony/model_mixin.rb +8 -1
- data/lib/compony/request_context.rb +8 -1
- data/lib/compony.rb +1 -1
- metadata +6 -6
data/doc/file.README.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.36
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -1305,6 +1305,8 @@ my_button = Compony.button(:index, :users, enabled: -> { |controller| control
|
|
1305
1305
|
<span class='kw'>end</span>
|
1306
1306
|
</code></pre>
|
1307
1307
|
|
1308
|
+
<p>All fields declared this way are automatically exported as Rails Model attributes. Note that this also means that you should never declare <code>password</code> and <code>password_confirmation</code> as a Compony field, as you will get the ArgumentError “One or more password arguments are required” otherwise. Read more about handling password fields in the section about <code>Compony::Components::Form</code>.</p>
|
1309
|
+
|
1308
1310
|
<p>Compony fields provide the following features:</p>
|
1309
1311
|
<ul><li>
|
1310
1312
|
<p>a label that lets you generate a name for the column: <code>User.fields[:first_name].label</code></p>
|
@@ -1446,6 +1448,45 @@ my_button = Compony.button(:index, :users, enabled: -> { |controller| control
|
|
1446
1448
|
|
1447
1449
|
<p>Note that the inputs and schema are two completely different concepts that are not auto-inferred from each other. You must make sure that they always correspond. If you forget to mention a field in <code>schema_fields</code>, posting the form will fail. Luckily, Schemacop’s excellent error messaging will explain which parameter is prohibited.</p>
|
1448
1450
|
|
1451
|
+
<p>Both calls respect Cancancan’s <code>permitted_attributes</code> directive. This means that you can safely declare <code>field</code> and <code>schema_field</code> in a form that is shared among users with different kinds of permissions. If the current user is not allowed to access a field, the input will be omitted automatically. Further, the parameter validation will exclude that field, effectively disallowing that user from submitting that parameter.</p>
|
1452
|
+
|
1453
|
+
<h4 id="label-Handling+password+fields">Handling password fields</h4>
|
1454
|
+
|
1455
|
+
<p>When using Rails’ <code>has_secure_password</code> method, which typically generates the attributes accessors <code>:password</code> and <code>password_confirmation</code>, do not declare these two as fields in your User model.</p>
|
1456
|
+
|
1457
|
+
<p>There are two main reasons for this:</p>
|
1458
|
+
<ul><li>
|
1459
|
+
<p><code>password</code> and <code>password_confirmation</code> should never show up in lists and show pages, and as these kinds of components tend to iterate over all fields, it’s best to have anything that should not show up there declared as a field in the first place.</p>
|
1460
|
+
</li><li>
|
1461
|
+
<p>Rails’ <code>authenticate_by</code> does not work when <code>password</code> is declared as a model attribute.</p>
|
1462
|
+
</li></ul>
|
1463
|
+
|
1464
|
+
<p>Instead of making these accessors Compony fields, ignore them in the User model and use the following methods in your Form:</p>
|
1465
|
+
|
1466
|
+
<pre class="code ruby"><code class="ruby"><span class='kw'>class</span> <span class='const'><span class='object_link'><a href="Components.html" title="Components (module)">Components</a></span></span><span class='op'>::</span><span class='const'>Users</span><span class='op'>::</span><span class='const'>Form</span> <span class='op'><</span> <span class='const'><span class='object_link'><a href="Compony.html" title="Compony (module)">Compony</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Compony/Components.html" title="Compony::Components (module)">Components</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Compony/Components/Form.html" title="Compony::Components::Form (class)">Form</a></span></span>
|
1467
|
+
<span class='id identifier rubyid_setup'>setup</span> <span class='kw'>do</span>
|
1468
|
+
<span class='id identifier rubyid_form_fields'>form_fields</span> <span class='kw'>do</span>
|
1469
|
+
<span class='comment'># ...
|
1470
|
+
</span> <span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_pw_field'>pw_field</span><span class='lparen'>(</span><span class='symbol'>:password</span><span class='rparen'>)</span>
|
1471
|
+
<span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_pw_field'>pw_field</span><span class='lparen'>(</span><span class='symbol'>:password_confirmation</span><span class='rparen'>)</span>
|
1472
|
+
<span class='kw'>end</span>
|
1473
|
+
|
1474
|
+
<span class='comment'># ...
|
1475
|
+
</span> <span class='id identifier rubyid_schema_pw_field'>schema_pw_field</span> <span class='symbol'>:password</span>
|
1476
|
+
<span class='id identifier rubyid_schema_pw_field'>schema_pw_field</span> <span class='symbol'>:password_confirmation</span>
|
1477
|
+
<span class='kw'>end</span>
|
1478
|
+
<span class='kw'>end</span>
|
1479
|
+
</code></pre>
|
1480
|
+
|
1481
|
+
<p>In contrast to the regular <code>field</code> and <code>schema_field</code> calls, their <code>pw_...</code> pendants do not check for per-field authorization. Instead, they check whether the current user can <code>:set_password</code> on the form’s object. Therefore, your ability may look something like:</p>
|
1482
|
+
|
1483
|
+
<pre class="code ruby"><code class="ruby">class Ability
|
1484
|
+
# ...
|
1485
|
+
can :manage, User # This allows full access to all users
|
1486
|
+
cannot :manage, User, [:user_role] # This prohibits access to user_role, thus removing the input and making the parameter invalid if passed anyway
|
1487
|
+
cannot :set_password, User # This prohibits setting and changing passwords of any user
|
1488
|
+
</code></pre>
|
1489
|
+
|
1449
1490
|
<h3 id="label-New">New</h3>
|
1450
1491
|
|
1451
1492
|
<p>This component is the Compony equivalent to a typical Rails controller’s <code>new</code> and <code>create</code> actions.</p>
|
@@ -1621,9 +1662,9 @@ my_button = Compony.button(:index, :users, enabled: -> { |controller| control
|
|
1621
1662
|
</div></div>
|
1622
1663
|
|
1623
1664
|
<div id="footer">
|
1624
|
-
Generated on
|
1665
|
+
Generated on Tue Jun 11 11:15:53 2024 by
|
1625
1666
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1626
|
-
0.9.
|
1667
|
+
0.9.36 (ruby-3.2.2).
|
1627
1668
|
</div>
|
1628
1669
|
|
1629
1670
|
</div>
|
data/doc/frames.html
CHANGED
@@ -2,13 +2,18 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8">
|
5
|
-
<title>Documentation by YARD 0.9.
|
5
|
+
<title>Documentation by YARD 0.9.36</title>
|
6
6
|
</head>
|
7
7
|
<script type="text/javascript">
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
var mainUrl = 'index.html';
|
9
|
+
try {
|
10
|
+
var match = decodeURIComponent(window.location.hash).match(/^#!(.+)/);
|
11
|
+
var name = match ? match[1] : mainUrl;
|
12
|
+
var url = new URL(name, location.href);
|
13
|
+
window.top.location.replace(url.origin === location.origin ? name : mainUrl);
|
14
|
+
} catch (e) {
|
15
|
+
window.top.location.replace(mainUrl);
|
16
|
+
}
|
12
17
|
</script>
|
13
18
|
<noscript>
|
14
19
|
<h1>Oops!</h1>
|
data/doc/index.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.36
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -1305,6 +1305,8 @@ my_button = Compony.button(:index, :users, enabled: -> { |controller| control
|
|
1305
1305
|
<span class='kw'>end</span>
|
1306
1306
|
</code></pre>
|
1307
1307
|
|
1308
|
+
<p>All fields declared this way are automatically exported as Rails Model attributes. Note that this also means that you should never declare <code>password</code> and <code>password_confirmation</code> as a Compony field, as you will get the ArgumentError “One or more password arguments are required” otherwise. Read more about handling password fields in the section about <code>Compony::Components::Form</code>.</p>
|
1309
|
+
|
1308
1310
|
<p>Compony fields provide the following features:</p>
|
1309
1311
|
<ul><li>
|
1310
1312
|
<p>a label that lets you generate a name for the column: <code>User.fields[:first_name].label</code></p>
|
@@ -1446,6 +1448,45 @@ my_button = Compony.button(:index, :users, enabled: -> { |controller| control
|
|
1446
1448
|
|
1447
1449
|
<p>Note that the inputs and schema are two completely different concepts that are not auto-inferred from each other. You must make sure that they always correspond. If you forget to mention a field in <code>schema_fields</code>, posting the form will fail. Luckily, Schemacop’s excellent error messaging will explain which parameter is prohibited.</p>
|
1448
1450
|
|
1451
|
+
<p>Both calls respect Cancancan’s <code>permitted_attributes</code> directive. This means that you can safely declare <code>field</code> and <code>schema_field</code> in a form that is shared among users with different kinds of permissions. If the current user is not allowed to access a field, the input will be omitted automatically. Further, the parameter validation will exclude that field, effectively disallowing that user from submitting that parameter.</p>
|
1452
|
+
|
1453
|
+
<h4 id="label-Handling+password+fields">Handling password fields</h4>
|
1454
|
+
|
1455
|
+
<p>When using Rails’ <code>has_secure_password</code> method, which typically generates the attributes accessors <code>:password</code> and <code>password_confirmation</code>, do not declare these two as fields in your User model.</p>
|
1456
|
+
|
1457
|
+
<p>There are two main reasons for this:</p>
|
1458
|
+
<ul><li>
|
1459
|
+
<p><code>password</code> and <code>password_confirmation</code> should never show up in lists and show pages, and as these kinds of components tend to iterate over all fields, it’s best to have anything that should not show up there declared as a field in the first place.</p>
|
1460
|
+
</li><li>
|
1461
|
+
<p>Rails’ <code>authenticate_by</code> does not work when <code>password</code> is declared as a model attribute.</p>
|
1462
|
+
</li></ul>
|
1463
|
+
|
1464
|
+
<p>Instead of making these accessors Compony fields, ignore them in the User model and use the following methods in your Form:</p>
|
1465
|
+
|
1466
|
+
<pre class="code ruby"><code class="ruby"><span class='kw'>class</span> <span class='const'><span class='object_link'><a href="Components.html" title="Components (module)">Components</a></span></span><span class='op'>::</span><span class='const'>Users</span><span class='op'>::</span><span class='const'>Form</span> <span class='op'><</span> <span class='const'><span class='object_link'><a href="Compony.html" title="Compony (module)">Compony</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Compony/Components.html" title="Compony::Components (module)">Components</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Compony/Components/Form.html" title="Compony::Components::Form (class)">Form</a></span></span>
|
1467
|
+
<span class='id identifier rubyid_setup'>setup</span> <span class='kw'>do</span>
|
1468
|
+
<span class='id identifier rubyid_form_fields'>form_fields</span> <span class='kw'>do</span>
|
1469
|
+
<span class='comment'># ...
|
1470
|
+
</span> <span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_pw_field'>pw_field</span><span class='lparen'>(</span><span class='symbol'>:password</span><span class='rparen'>)</span>
|
1471
|
+
<span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_pw_field'>pw_field</span><span class='lparen'>(</span><span class='symbol'>:password_confirmation</span><span class='rparen'>)</span>
|
1472
|
+
<span class='kw'>end</span>
|
1473
|
+
|
1474
|
+
<span class='comment'># ...
|
1475
|
+
</span> <span class='id identifier rubyid_schema_pw_field'>schema_pw_field</span> <span class='symbol'>:password</span>
|
1476
|
+
<span class='id identifier rubyid_schema_pw_field'>schema_pw_field</span> <span class='symbol'>:password_confirmation</span>
|
1477
|
+
<span class='kw'>end</span>
|
1478
|
+
<span class='kw'>end</span>
|
1479
|
+
</code></pre>
|
1480
|
+
|
1481
|
+
<p>In contrast to the regular <code>field</code> and <code>schema_field</code> calls, their <code>pw_...</code> pendants do not check for per-field authorization. Instead, they check whether the current user can <code>:set_password</code> on the form’s object. Therefore, your ability may look something like:</p>
|
1482
|
+
|
1483
|
+
<pre class="code ruby"><code class="ruby">class Ability
|
1484
|
+
# ...
|
1485
|
+
can :manage, User # This allows full access to all users
|
1486
|
+
cannot :manage, User, [:user_role] # This prohibits access to user_role, thus removing the input and making the parameter invalid if passed anyway
|
1487
|
+
cannot :set_password, User # This prohibits setting and changing passwords of any user
|
1488
|
+
</code></pre>
|
1489
|
+
|
1449
1490
|
<h3 id="label-New">New</h3>
|
1450
1491
|
|
1451
1492
|
<p>This component is the Compony equivalent to a typical Rails controller’s <code>new</code> and <code>create</code> actions.</p>
|
@@ -1621,9 +1662,9 @@ my_button = Compony.button(:index, :users, enabled: -> { |controller| control
|
|
1621
1662
|
</div></div>
|
1622
1663
|
|
1623
1664
|
<div id="footer">
|
1624
|
-
Generated on
|
1665
|
+
Generated on Tue Jun 11 11:15:53 2024 by
|
1625
1666
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1626
|
-
0.9.
|
1667
|
+
0.9.36 (ruby-3.2.2).
|
1627
1668
|
</div>
|
1628
1669
|
|
1629
1670
|
</div>
|
data/doc/method_list.html
CHANGED
@@ -293,6 +293,14 @@
|
|
293
293
|
|
294
294
|
|
295
295
|
<li class="even ">
|
296
|
+
<div class="item">
|
297
|
+
<span class='object_link'><a href="Compony/RequestContext.html#content!-instance_method" title="Compony::RequestContext#content! (method)">#content!</a></span>
|
298
|
+
<small>Compony::RequestContext</small>
|
299
|
+
</div>
|
300
|
+
</li>
|
301
|
+
|
302
|
+
|
303
|
+
<li class="odd ">
|
296
304
|
<div class="item">
|
297
305
|
<span class='object_link'><a href="Compony.html#content_after_root_comp-class_method" title="Compony.content_after_root_comp (method)">content_after_root_comp</a></span>
|
298
306
|
<small>Compony</small>
|
@@ -300,7 +308,7 @@
|
|
300
308
|
</li>
|
301
309
|
|
302
310
|
|
303
|
-
<li class="
|
311
|
+
<li class="even ">
|
304
312
|
<div class="item">
|
305
313
|
<span class='object_link'><a href="Compony.html#content_after_root_comp_block-class_method" title="Compony.content_after_root_comp_block (method)">content_after_root_comp_block</a></span>
|
306
314
|
<small>Compony</small>
|
@@ -308,7 +316,7 @@
|
|
308
316
|
</li>
|
309
317
|
|
310
318
|
|
311
|
-
<li class="
|
319
|
+
<li class="odd ">
|
312
320
|
<div class="item">
|
313
321
|
<span class='object_link'><a href="Compony.html#content_before_root_comp-class_method" title="Compony.content_before_root_comp (method)">content_before_root_comp</a></span>
|
314
322
|
<small>Compony</small>
|
@@ -316,7 +324,7 @@
|
|
316
324
|
</li>
|
317
325
|
|
318
326
|
|
319
|
-
<li class="
|
327
|
+
<li class="even ">
|
320
328
|
<div class="item">
|
321
329
|
<span class='object_link'><a href="Compony.html#content_before_root_comp_block-class_method" title="Compony.content_before_root_comp_block (method)">content_before_root_comp_block</a></span>
|
322
330
|
<small>Compony</small>
|
@@ -324,7 +332,7 @@
|
|
324
332
|
</li>
|
325
333
|
|
326
334
|
|
327
|
-
<li class="
|
335
|
+
<li class="odd ">
|
328
336
|
<div class="item">
|
329
337
|
<span class='object_link'><a href="Compony/Component.html#content_blocks-instance_method" title="Compony::Component#content_blocks (method)">#content_blocks</a></span>
|
330
338
|
<small>Compony::Component</small>
|
@@ -332,7 +340,7 @@
|
|
332
340
|
</li>
|
333
341
|
|
334
342
|
|
335
|
-
<li class="
|
343
|
+
<li class="even ">
|
336
344
|
<div class="item">
|
337
345
|
<span class='object_link'><a href="Compony/RequestContext.html#controller-instance_method" title="Compony::RequestContext#controller (method)">#controller</a></span>
|
338
346
|
<small>Compony::RequestContext</small>
|
@@ -340,7 +348,7 @@
|
|
340
348
|
</li>
|
341
349
|
|
342
350
|
|
343
|
-
<li class="
|
351
|
+
<li class="odd ">
|
344
352
|
<div class="item">
|
345
353
|
<span class='object_link'><a href="Compony/ComponentMixins/Resourceful.html#data-instance_method" title="Compony::ComponentMixins::Resourceful#data (method)">#data</a></span>
|
346
354
|
<small>Compony::ComponentMixins::Resourceful</small>
|
@@ -348,7 +356,7 @@
|
|
348
356
|
</li>
|
349
357
|
|
350
358
|
|
351
|
-
<li class="
|
359
|
+
<li class="even ">
|
352
360
|
<div class="item">
|
353
361
|
<span class='object_link'><a href="Compony/ComponentMixins/Resourceful.html#data_class-instance_method" title="Compony::ComponentMixins::Resourceful#data_class (method)">#data_class</a></span>
|
354
362
|
<small>Compony::ComponentMixins::Resourceful</small>
|
@@ -356,7 +364,7 @@
|
|
356
364
|
</li>
|
357
365
|
|
358
366
|
|
359
|
-
<li class="
|
367
|
+
<li class="odd ">
|
360
368
|
<div class="item">
|
361
369
|
<span class='object_link'><a href="Compony/ComponentMixins/Default/Standalone/VerbDsl.html#default_config-instance_method" title="Compony::ComponentMixins::Default::Standalone::VerbDsl#default_config (method)">#default_config</a></span>
|
362
370
|
<small>Compony::ComponentMixins::Default::Standalone::VerbDsl</small>
|
@@ -364,7 +372,7 @@
|
|
364
372
|
</li>
|
365
373
|
|
366
374
|
|
367
|
-
<li class="
|
375
|
+
<li class="even ">
|
368
376
|
<div class="item">
|
369
377
|
<span class='object_link'><a href="Compony/RequestContext.html#evaluate_with_backfire-instance_method" title="Compony::RequestContext#evaluate_with_backfire (method)">#evaluate_with_backfire</a></span>
|
370
378
|
<small>Compony::RequestContext</small>
|
@@ -372,7 +380,7 @@
|
|
372
380
|
</li>
|
373
381
|
|
374
382
|
|
375
|
-
<li class="
|
383
|
+
<li class="odd ">
|
376
384
|
<div class="item">
|
377
385
|
<span class='object_link'><a href="Compony/ModelFields/Base.html#extra_attrs-instance_method" title="Compony::ModelFields::Base#extra_attrs (method)">#extra_attrs</a></span>
|
378
386
|
<small>Compony::ModelFields::Base</small>
|
@@ -380,7 +388,7 @@
|
|
380
388
|
</li>
|
381
389
|
|
382
390
|
|
383
|
-
<li class="
|
391
|
+
<li class="even ">
|
384
392
|
<div class="item">
|
385
393
|
<span class='object_link'><a href="Compony/Components/Form.html#f-instance_method" title="Compony::Components::Form#f (method)">#f</a></span>
|
386
394
|
<small>Compony::Components::Form</small>
|
@@ -388,7 +396,7 @@
|
|
388
396
|
</li>
|
389
397
|
|
390
398
|
|
391
|
-
<li class="
|
399
|
+
<li class="odd ">
|
392
400
|
<div class="item">
|
393
401
|
<span class='object_link'><a href="Compony/Component.html#family_cst-instance_method" title="Compony::Component#family_cst (method)">#family_cst</a></span>
|
394
402
|
<small>Compony::Component</small>
|
@@ -396,7 +404,7 @@
|
|
396
404
|
</li>
|
397
405
|
|
398
406
|
|
399
|
-
<li class="
|
407
|
+
<li class="even ">
|
400
408
|
<div class="item">
|
401
409
|
<span class='object_link'><a href="Compony/Component.html#family_name-instance_method" title="Compony::Component#family_name (method)">#family_name</a></span>
|
402
410
|
<small>Compony::Component</small>
|
@@ -404,7 +412,7 @@
|
|
404
412
|
</li>
|
405
413
|
|
406
414
|
|
407
|
-
<li class="
|
415
|
+
<li class="odd ">
|
408
416
|
<div class="item">
|
409
417
|
<span class='object_link'><a href="Compony.html#family_name_for-class_method" title="Compony.family_name_for (method)">family_name_for</a></span>
|
410
418
|
<small>Compony</small>
|
@@ -412,7 +420,7 @@
|
|
412
420
|
</li>
|
413
421
|
|
414
422
|
|
415
|
-
<li class="
|
423
|
+
<li class="even ">
|
416
424
|
<div class="item">
|
417
425
|
<span class='object_link'><a href="Compony/ModelMixin.html#feasibility_messages-instance_method" title="Compony::ModelMixin#feasibility_messages (method)">#feasibility_messages</a></span>
|
418
426
|
<small>Compony::ModelMixin</small>
|
@@ -420,7 +428,7 @@
|
|
420
428
|
</li>
|
421
429
|
|
422
430
|
|
423
|
-
<li class="
|
431
|
+
<li class="odd ">
|
424
432
|
<div class="item">
|
425
433
|
<span class='object_link'><a href="Compony/ModelMixin.html#feasible%3F-instance_method" title="Compony::ModelMixin#feasible? (method)">#feasible?</a></span>
|
426
434
|
<small>Compony::ModelMixin</small>
|
@@ -428,7 +436,7 @@
|
|
428
436
|
</li>
|
429
437
|
|
430
438
|
|
431
|
-
<li class="
|
439
|
+
<li class="even ">
|
432
440
|
<div class="item">
|
433
441
|
<span class='object_link'><a href="Compony/ModelMixin.html#field-instance_method" title="Compony::ModelMixin#field (method)">#field</a></span>
|
434
442
|
<small>Compony::ModelMixin</small>
|
@@ -436,7 +444,7 @@
|
|
436
444
|
</li>
|
437
445
|
|
438
446
|
|
439
|
-
<li class="
|
447
|
+
<li class="odd ">
|
440
448
|
<div class="item">
|
441
449
|
<span class='object_link'><a href="Compony/Components/Form.html#field-instance_method" title="Compony::Components::Form#field (method)">#field</a></span>
|
442
450
|
<small>Compony::Components::Form</small>
|
@@ -444,6 +452,14 @@
|
|
444
452
|
</li>
|
445
453
|
|
446
454
|
|
455
|
+
<li class="even ">
|
456
|
+
<div class="item">
|
457
|
+
<span class='object_link'><a href="Compony/Components/WithForm.html#form_cancancan_action-instance_method" title="Compony::Components::WithForm#form_cancancan_action (method)">#form_cancancan_action</a></span>
|
458
|
+
<small>Compony::Components::WithForm</small>
|
459
|
+
</div>
|
460
|
+
</li>
|
461
|
+
|
462
|
+
|
447
463
|
<li class="odd ">
|
448
464
|
<div class="item">
|
449
465
|
<span class='object_link'><a href="Compony/Components/WithForm.html#form_comp-instance_method" title="Compony::Components::WithForm#form_comp (method)">#form_comp</a></span>
|
@@ -925,6 +941,14 @@
|
|
925
941
|
|
926
942
|
|
927
943
|
<li class="odd ">
|
944
|
+
<div class="item">
|
945
|
+
<span class='object_link'><a href="Compony/Components/Form.html#pw_field-instance_method" title="Compony::Components::Form#pw_field (method)">#pw_field</a></span>
|
946
|
+
<small>Compony::Components::Form</small>
|
947
|
+
</div>
|
948
|
+
</li>
|
949
|
+
|
950
|
+
|
951
|
+
<li class="even ">
|
928
952
|
<div class="item">
|
929
953
|
<span class='object_link'><a href="Compony.html#rails_action_name-class_method" title="Compony.rails_action_name (method)">rails_action_name</a></span>
|
930
954
|
<small>Compony</small>
|
@@ -932,7 +956,7 @@
|
|
932
956
|
</li>
|
933
957
|
|
934
958
|
|
935
|
-
<li class="
|
959
|
+
<li class="odd ">
|
936
960
|
<div class="item">
|
937
961
|
<span class='object_link'><a href="Compony/Component.html#remove_content-instance_method" title="Compony::Component#remove_content (method)">#remove_content</a></span>
|
938
962
|
<small>Compony::Component</small>
|
@@ -940,7 +964,7 @@
|
|
940
964
|
</li>
|
941
965
|
|
942
966
|
|
943
|
-
<li class="
|
967
|
+
<li class="even ">
|
944
968
|
<div class="item">
|
945
969
|
<span class='object_link'><a href="Compony/Component.html#remove_content!-instance_method" title="Compony::Component#remove_content! (method)">#remove_content!</a></span>
|
946
970
|
<small>Compony::Component</small>
|
@@ -948,7 +972,7 @@
|
|
948
972
|
</li>
|
949
973
|
|
950
974
|
|
951
|
-
<li class="
|
975
|
+
<li class="odd ">
|
952
976
|
<div class="item">
|
953
977
|
<span class='object_link'><a href="Compony/Component.html#render-instance_method" title="Compony::Component#render (method)">#render</a></span>
|
954
978
|
<small>Compony::Component</small>
|
@@ -956,7 +980,7 @@
|
|
956
980
|
</li>
|
957
981
|
|
958
982
|
|
959
|
-
<li class="
|
983
|
+
<li class="even ">
|
960
984
|
<div class="item">
|
961
985
|
<span class='object_link'><a href="Compony/Component.html#render_actions-instance_method" title="Compony::Component#render_actions (method)">#render_actions</a></span>
|
962
986
|
<small>Compony::Component</small>
|
@@ -964,7 +988,7 @@
|
|
964
988
|
</li>
|
965
989
|
|
966
990
|
|
967
|
-
<li class="
|
991
|
+
<li class="odd ">
|
968
992
|
<div class="item">
|
969
993
|
<span class='object_link'><a href="Compony/ComponentMixins/Default/Standalone.html#render_standalone-instance_method" title="Compony::ComponentMixins::Default::Standalone#render_standalone (method)">#render_standalone</a></span>
|
970
994
|
<small>Compony::ComponentMixins::Default::Standalone</small>
|
@@ -972,7 +996,7 @@
|
|
972
996
|
</li>
|
973
997
|
|
974
998
|
|
975
|
-
<li class="
|
999
|
+
<li class="even ">
|
976
1000
|
<div class="item">
|
977
1001
|
<span class='object_link'><a href="Compony/RequestContext.html#request_context-instance_method" title="Compony::RequestContext#request_context (method)">#request_context</a></span>
|
978
1002
|
<small>Compony::RequestContext</small>
|
@@ -980,7 +1004,7 @@
|
|
980
1004
|
</li>
|
981
1005
|
|
982
1006
|
|
983
|
-
<li class="
|
1007
|
+
<li class="odd ">
|
984
1008
|
<div class="item">
|
985
1009
|
<span class='object_link'><a href="Compony/ModelFields/Association.html#resolve_association!-instance_method" title="Compony::ModelFields::Association#resolve_association! (method)">#resolve_association!</a></span>
|
986
1010
|
<small>Compony::ModelFields::Association</small>
|
@@ -988,7 +1012,7 @@
|
|
988
1012
|
</li>
|
989
1013
|
|
990
1014
|
|
991
|
-
<li class="
|
1015
|
+
<li class="even ">
|
992
1016
|
<div class="item">
|
993
1017
|
<span class='object_link'><a href="Compony/Component.html#resourceful%3F-instance_method" title="Compony::Component#resourceful? (method)">#resourceful?</a></span>
|
994
1018
|
<small>Compony::Component</small>
|
@@ -996,7 +1020,7 @@
|
|
996
1020
|
</li>
|
997
1021
|
|
998
1022
|
|
999
|
-
<li class="
|
1023
|
+
<li class="odd ">
|
1000
1024
|
<div class="item">
|
1001
1025
|
<span class='object_link'><a href="Compony/ComponentMixins/Resourceful.html#resourceful%3F-instance_method" title="Compony::ComponentMixins::Resourceful#resourceful? (method)">#resourceful?</a></span>
|
1002
1026
|
<small>Compony::ComponentMixins::Resourceful</small>
|
@@ -1004,7 +1028,7 @@
|
|
1004
1028
|
</li>
|
1005
1029
|
|
1006
1030
|
|
1007
|
-
<li class="
|
1031
|
+
<li class="even ">
|
1008
1032
|
<div class="item">
|
1009
1033
|
<span class='object_link'><a href="Compony/ComponentMixins/Resourceful.html#resourceful_sub_comp-instance_method" title="Compony::ComponentMixins::Resourceful#resourceful_sub_comp (method)">#resourceful_sub_comp</a></span>
|
1010
1034
|
<small>Compony::ComponentMixins::Resourceful</small>
|
@@ -1012,7 +1036,7 @@
|
|
1012
1036
|
</li>
|
1013
1037
|
|
1014
1038
|
|
1015
|
-
<li class="
|
1039
|
+
<li class="odd ">
|
1016
1040
|
<div class="item">
|
1017
1041
|
<span class='object_link'><a href="Compony/ComponentMixins/Default/Standalone/VerbDsl.html#respond-instance_method" title="Compony::ComponentMixins::Default::Standalone::VerbDsl#respond (method)">#respond</a></span>
|
1018
1042
|
<small>Compony::ComponentMixins::Default::Standalone::VerbDsl</small>
|
@@ -1020,7 +1044,7 @@
|
|
1020
1044
|
</li>
|
1021
1045
|
|
1022
1046
|
|
1023
|
-
<li class="
|
1047
|
+
<li class="even ">
|
1024
1048
|
<div class="item">
|
1025
1049
|
<span class='object_link'><a href="Compony/RequestContext.html#respond_to_missing%3F-instance_method" title="Compony::RequestContext#respond_to_missing? (method)">#respond_to_missing?</a></span>
|
1026
1050
|
<small>Compony::RequestContext</small>
|
@@ -1028,7 +1052,7 @@
|
|
1028
1052
|
</li>
|
1029
1053
|
|
1030
1054
|
|
1031
|
-
<li class="
|
1055
|
+
<li class="odd ">
|
1032
1056
|
<div class="item">
|
1033
1057
|
<span class='object_link'><a href="Compony/MethodAccessibleHash.html#respond_to_missing%3F-instance_method" title="Compony::MethodAccessibleHash#respond_to_missing? (method)">#respond_to_missing?</a></span>
|
1034
1058
|
<small>Compony::MethodAccessibleHash</small>
|
@@ -1036,7 +1060,7 @@
|
|
1036
1060
|
</li>
|
1037
1061
|
|
1038
1062
|
|
1039
|
-
<li class="
|
1063
|
+
<li class="even ">
|
1040
1064
|
<div class="item">
|
1041
1065
|
<span class='object_link'><a href="Compony.html#root_comp-class_method" title="Compony.root_comp (method)">root_comp</a></span>
|
1042
1066
|
<small>Compony</small>
|
@@ -1044,7 +1068,7 @@
|
|
1044
1068
|
</li>
|
1045
1069
|
|
1046
1070
|
|
1047
|
-
<li class="
|
1071
|
+
<li class="odd ">
|
1048
1072
|
<div class="item">
|
1049
1073
|
<span class='object_link'><a href="Compony/Component.html#root_comp-instance_method" title="Compony::Component#root_comp (method)">#root_comp</a></span>
|
1050
1074
|
<small>Compony::Component</small>
|
@@ -1052,7 +1076,7 @@
|
|
1052
1076
|
</li>
|
1053
1077
|
|
1054
1078
|
|
1055
|
-
<li class="
|
1079
|
+
<li class="even ">
|
1056
1080
|
<div class="item">
|
1057
1081
|
<span class='object_link'><a href="Compony/Component.html#root_comp%3F-instance_method" title="Compony::Component#root_comp? (method)">#root_comp?</a></span>
|
1058
1082
|
<small>Compony::Component</small>
|
@@ -1060,7 +1084,7 @@
|
|
1060
1084
|
</li>
|
1061
1085
|
|
1062
1086
|
|
1063
|
-
<li class="
|
1087
|
+
<li class="odd ">
|
1064
1088
|
<div class="item">
|
1065
1089
|
<span class='object_link'><a href="Compony/Components/Form.html#schema-instance_method" title="Compony::Components::Form#schema (method)">#schema</a></span>
|
1066
1090
|
<small>Compony::Components::Form</small>
|
@@ -1068,7 +1092,7 @@
|
|
1068
1092
|
</li>
|
1069
1093
|
|
1070
1094
|
|
1071
|
-
<li class="
|
1095
|
+
<li class="even ">
|
1072
1096
|
<div class="item">
|
1073
1097
|
<span class='object_link'><a href="Compony/Components/Form.html#schema_block_for-instance_method" title="Compony::Components::Form#schema_block_for (method)">#schema_block_for</a></span>
|
1074
1098
|
<small>Compony::Components::Form</small>
|
@@ -1076,7 +1100,7 @@
|
|
1076
1100
|
</li>
|
1077
1101
|
|
1078
1102
|
|
1079
|
-
<li class="
|
1103
|
+
<li class="odd ">
|
1080
1104
|
<div class="item">
|
1081
1105
|
<span class='object_link'><a href="Compony/Components/Form.html#schema_field-instance_method" title="Compony::Components::Form#schema_field (method)">#schema_field</a></span>
|
1082
1106
|
<small>Compony::Components::Form</small>
|
@@ -1084,7 +1108,7 @@
|
|
1084
1108
|
</li>
|
1085
1109
|
|
1086
1110
|
|
1087
|
-
<li class="
|
1111
|
+
<li class="even ">
|
1088
1112
|
<div class="item">
|
1089
1113
|
<span class='object_link'><a href="Compony/Components/Form.html#schema_fields-instance_method" title="Compony::Components::Form#schema_fields (method)">#schema_fields</a></span>
|
1090
1114
|
<small>Compony::Components::Form</small>
|
@@ -1092,7 +1116,7 @@
|
|
1092
1116
|
</li>
|
1093
1117
|
|
1094
1118
|
|
1095
|
-
<li class="
|
1119
|
+
<li class="odd ">
|
1096
1120
|
<div class="item">
|
1097
1121
|
<span class='object_link'><a href="Compony/ModelFields/Base.html#schema_key-instance_method" title="Compony::ModelFields::Base#schema_key (method)">#schema_key</a></span>
|
1098
1122
|
<small>Compony::ModelFields::Base</small>
|
@@ -1100,7 +1124,7 @@
|
|
1100
1124
|
</li>
|
1101
1125
|
|
1102
1126
|
|
1103
|
-
<li class="
|
1127
|
+
<li class="even ">
|
1104
1128
|
<div class="item">
|
1105
1129
|
<span class='object_link'><a href="Compony/Components/Form.html#schema_line-instance_method" title="Compony::Components::Form#schema_line (method)">#schema_line</a></span>
|
1106
1130
|
<small>Compony::Components::Form</small>
|
@@ -1108,7 +1132,7 @@
|
|
1108
1132
|
</li>
|
1109
1133
|
|
1110
1134
|
|
1111
|
-
<li class="
|
1135
|
+
<li class="odd ">
|
1112
1136
|
<div class="item">
|
1113
1137
|
<span class='object_link'><a href="Compony/ModelFields/Base.html#schema_line-instance_method" title="Compony::ModelFields::Base#schema_line (method)">#schema_line</a></span>
|
1114
1138
|
<small>Compony::ModelFields::Base</small>
|
@@ -1116,7 +1140,7 @@
|
|
1116
1140
|
</li>
|
1117
1141
|
|
1118
1142
|
|
1119
|
-
<li class="
|
1143
|
+
<li class="even ">
|
1120
1144
|
<div class="item">
|
1121
1145
|
<span class='object_link'><a href="Compony/ModelFields/Association.html#schema_line-instance_method" title="Compony::ModelFields::Association#schema_line (method)">#schema_line</a></span>
|
1122
1146
|
<small>Compony::ModelFields::Association</small>
|
@@ -1124,6 +1148,14 @@
|
|
1124
1148
|
</li>
|
1125
1149
|
|
1126
1150
|
|
1151
|
+
<li class="odd ">
|
1152
|
+
<div class="item">
|
1153
|
+
<span class='object_link'><a href="Compony/Components/Form.html#schema_pw_field-instance_method" title="Compony::Components::Form#schema_pw_field (method)">#schema_pw_field</a></span>
|
1154
|
+
<small>Compony::Components::Form</small>
|
1155
|
+
</div>
|
1156
|
+
</li>
|
1157
|
+
|
1158
|
+
|
1127
1159
|
<li class="even ">
|
1128
1160
|
<div class="item">
|
1129
1161
|
<span class='object_link'><a href="Compony/Components/Form.html#schema_wrapper_key_for-instance_method" title="Compony::Components::Form#schema_wrapper_key_for (method)">#schema_wrapper_key_for</a></span>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Top Level Namespace
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.36
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -102,9 +102,9 @@
|
|
102
102
|
</div>
|
103
103
|
|
104
104
|
<div id="footer">
|
105
|
-
Generated on
|
105
|
+
Generated on Tue Jun 11 11:15:53 2024 by
|
106
106
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
107
|
-
0.9.
|
107
|
+
0.9.36 (ruby-3.2.2).
|
108
108
|
</div>
|
109
109
|
|
110
110
|
</div>
|