Skip to content

Commit 2257752

Browse files
author
Seiichi Yonezawa
committed
Fix a minor typo
1 parent 23cae94 commit 2257752

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

models/active_record.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ get '/' do
2828
end
2929
```
3030

31-
This will render ./views/index.erb:
31+
This will render `./views/index.erb`:
3232

33-
```ruby
33+
```erb
3434
<% for post in @posts %>
3535
<h1><%= post.title %></h1>
3636
<% end %>

models/couchdb.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ get '/posts/:title' do
5252
end
5353
```
5454

55-
This will render ./views/posts.erb:
55+
This will render `./views/posts.erb`:
5656

57-
```ruby
57+
```erb
5858
<% for post in @posts %>
5959
<div>
6060
<h1><%= post.title %></h1>

models/data_mapper.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ end
4242

4343
Finally, the view at `./view/index.html`:
4444

45-
```ruby
45+
```erb
4646
<% @posts.each do |post| %>
4747
<h3><%= post.title %></h3>
4848
<p><%= post.body %></p>

models/ohm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ get '/posts/:title' do
4848
end
4949
```
5050

51-
This will render ./views/index.erb:
51+
This will render `./views/index.erb`:
5252

53-
```ruby
53+
```erb
5454
<% for post in @posts %>
5555
<h1><%= post.title %></h1>
5656
<% end %>

models/sequel.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ require 'sequel'
1212
Use a simple in-memory DB:
1313

1414
```ruby
15+
require 'sqlite3'
1516
DB = Sequel.sqlite
1617
```
1718

0 commit comments

Comments
 (0)