Skip to content

Commit 48a4a1e

Browse files
committed
Merge pull request #76 from sinatra-sapporo/fix-typo
Fix a minor typo
2 parents 75c9593 + 2257752 commit 48a4a1e

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
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

testing/webrat_with_cucumber.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Features from Cucumber and Webrat
33

44
**A Feature Example**
55

6-
```
6+
```gherkin
77
Feature: View my page
88
In order for visitors to feel welcome
99
We must go out of our way

0 commit comments

Comments
 (0)