Skip to content

Commit 70e6518

Browse files
author
Lee Richmond
committed
fix typo
1 parent d161c3e commit 70e6518

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: _site/feed.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.3.1">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2020-04-23T08:50:25-04:00</updated><id>/</id><title type="html">Graphiti</title><subtitle>Stylish Graph APIs
1+
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.3.1">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2020-05-29T10:03:07-04:00</updated><id>/</id><title type="html">Graphiti</title><subtitle>Stylish Graph APIs
22
</subtitle><entry><title type="html">Tutorial Write-Ups Are Out!</title><link href="/2019/10/14/tutorial.html" rel="alternate" type="text/html" title="Tutorial Write-Ups Are Out!" /><published>2019-10-14T00:00:00-04:00</published><updated>2019-10-14T00:00:00-04:00</updated><id>/2019/10/14/tutorial</id><content type="html" xml:base="/2019/10/14/tutorial.html">&lt;p&gt;Though we’ve long had a &lt;a href=&quot;https://github.com/graphiti-api/employee_directory&quot;&gt;sample application&lt;/a&gt; with step-by-step diffs, we’ve been missing a full walkthrough. That now exists! Start with &lt;a href=&quot;https://www.graphiti.dev/tutorial/step_0&quot;&gt;Step 0: Bootstrapping&lt;/a&gt;.&lt;/p&gt;
33

44
&lt;p&gt;These write-ups will tell you the relevant code and commands, but

Diff for: _site/tutorial/step_1.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ <h3 id="the-graphiti-stuff-">The Graphiti Stuff 🎨</h3>
236236
letters:</p>
237237

238238
<figure class="highlight"><pre><code class="language-ruby" data-lang="ruby"><span class="c1"># app/resources/employee_resource.rb</span>
239-
<span class="n">attribute</span> <span class="ss">:first_name</span> <span class="k">do</span>
239+
<span class="n">attribute</span> <span class="ss">:first_name</span><span class="p">,</span> <span class="ss">:string</span> <span class="k">do</span>
240240
<span class="c1"># @object is your model instance</span>
241241
<span class="vi">@object</span><span class="p">.</span><span class="nf">first_name</span><span class="p">.</span><span class="nf">upcase</span>
242242
<span class="k">end</span></code></pre></figure>

Diff for: tutorial/step_1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ letters:
154154

155155
{% highlight ruby %}
156156
# app/resources/employee_resource.rb
157-
attribute :first_name do
157+
attribute :first_name, :string do
158158
# @object is your model instance
159159
@object.first_name.upcase
160160
end

0 commit comments

Comments
 (0)