Skip to content

Commit ea590a9

Browse files
authored
Update README.md
removing unneeded ruby code blocks
1 parent af913ed commit ea590a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,12 @@ Rails.application.routes.draw do
215215
end
216216
end
217217
```
218-
which allows us to call the json data from ```ruby localhost:3000/api/v1/movies```
218+
which allows us to call the json data from ``` localhost:3000/api/v1/movies```
219219

220220

221221
6. Let's seed our sqlite database with some classic movies so we can practice getting data with GET requests to the API.
222222

223-
Copy and paste the following data to your ```ruby config/seeds.rb``` file.
223+
Copy and paste the following data to your ```config/seeds.rb``` file.
224224

225225
```ruby
226226
Movie.create(name: "The Nightmare Before Christmas", rating: 5)
@@ -240,7 +240,7 @@ Movie.create(name: "Bohemian Rhapsody", rating: 4)
240240
Movie.create(name: "Ocean's 8", rating: 5)
241241
```
242242

243-
Seed the DB using ```ruby rails db:seed && rails db:migrate ```
243+
Seed the DB using ``` rails db:seed && rails db:migrate ```
244244

245245
7. Test the API using a GET request.
246246

0 commit comments

Comments
 (0)