Skip to content

Commit

Permalink
deploy: f31eef0
Browse files Browse the repository at this point in the history
  • Loading branch information
arbulu89 committed Oct 24, 2023
1 parent 44975fa commit 66d49fc
Show file tree
Hide file tree
Showing 9 changed files with 803 additions and 403 deletions.
2 changes: 1 addition & 1 deletion .build
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ dist/merriweather-latin-ext-300-normal-K6L27CZ5.woff2
dist/merriweather-vietnamese-300-italic-EHHNZPUO.woff2
dist/merriweather-vietnamese-300-normal-U376L4Z4.woff2
dist/remixicon-NKANDIL5.woff2
dist/search_data-6D8C0885.js
dist/search_data-9BD0835A.js
dist/sidebar_items-05B55562.js
expression_language.html
gatherers.html
Expand Down
6 changes: 3 additions & 3 deletions Wanda.DataCase.html
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@ <h1 class="signature" translate="no">errors_on(changeset)</h1>

<section class="docstring">

<p>A helper that transforms changeset errors into a map of messages.</p><pre><code class="makeup elixir" translate="no"><span class="n">assert</span><span class="w"> </span><span class="p" data-group-id="7472377796-1">{</span><span class="ss">:error</span><span class="p">,</span><span class="w"> </span><span class="n">changeset</span><span class="p" data-group-id="7472377796-1">}</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nc">Accounts</span><span class="o">.</span><span class="n">create_user</span><span class="p" data-group-id="7472377796-2">(</span><span class="p" data-group-id="7472377796-3">%{</span><span class="ss">password</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;short&quot;</span><span class="p" data-group-id="7472377796-3">}</span><span class="p" data-group-id="7472377796-2">)</span><span class="w">
</span><span class="n">assert</span><span class="w"> </span><span class="s">&quot;password is too short&quot;</span><span class="w"> </span><span class="ow">in</span><span class="w"> </span><span class="n">errors_on</span><span class="p" data-group-id="7472377796-4">(</span><span class="n">changeset</span><span class="p" data-group-id="7472377796-4">)</span><span class="o">.</span><span class="n">password</span><span class="w">
</span><span class="n">assert</span><span class="w"> </span><span class="p" data-group-id="7472377796-5">%{</span><span class="ss">password</span><span class="p">:</span><span class="w"> </span><span class="p" data-group-id="7472377796-6">[</span><span class="s">&quot;password is too short&quot;</span><span class="p" data-group-id="7472377796-6">]</span><span class="p" data-group-id="7472377796-5">}</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">errors_on</span><span class="p" data-group-id="7472377796-7">(</span><span class="n">changeset</span><span class="p" data-group-id="7472377796-7">)</span></code></pre>
<p>A helper that transforms changeset errors into a map of messages.</p><pre><code class="makeup elixir" translate="no"><span class="n">assert</span><span class="w"> </span><span class="p" data-group-id="5737385710-1">{</span><span class="ss">:error</span><span class="p">,</span><span class="w"> </span><span class="n">changeset</span><span class="p" data-group-id="5737385710-1">}</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nc">Accounts</span><span class="o">.</span><span class="n">create_user</span><span class="p" data-group-id="5737385710-2">(</span><span class="p" data-group-id="5737385710-3">%{</span><span class="ss">password</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;short&quot;</span><span class="p" data-group-id="5737385710-3">}</span><span class="p" data-group-id="5737385710-2">)</span><span class="w">
</span><span class="n">assert</span><span class="w"> </span><span class="s">&quot;password is too short&quot;</span><span class="w"> </span><span class="ow">in</span><span class="w"> </span><span class="n">errors_on</span><span class="p" data-group-id="5737385710-4">(</span><span class="n">changeset</span><span class="p" data-group-id="5737385710-4">)</span><span class="o">.</span><span class="n">password</span><span class="w">
</span><span class="n">assert</span><span class="w"> </span><span class="p" data-group-id="5737385710-5">%{</span><span class="ss">password</span><span class="p">:</span><span class="w"> </span><span class="p" data-group-id="5737385710-6">[</span><span class="s">&quot;password is too short&quot;</span><span class="p" data-group-id="5737385710-6">]</span><span class="p" data-group-id="5737385710-5">}</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">errors_on</span><span class="p" data-group-id="5737385710-7">(</span><span class="n">changeset</span><span class="p" data-group-id="5737385710-7">)</span></code></pre>
</section>
</section>
<section class="detail" id="setup_sandbox/1">
Expand Down
Binary file modified Wanda.epub
Binary file not shown.

Large diffs are not rendered by default.

Loading

0 comments on commit 66d49fc

Please sign in to comment.