Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions chapters/creating-the-rails-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ end

## See it in Action

Let's create some records and see our API actually work.
Let's create some records and see our API actually work.

First add the ffaker gem:

Expand All @@ -170,12 +170,12 @@ namespace :db do

20.times do
Lead.create(
first_name: Faker::Name.first_name,
last_name: Faker::Name.last_name,
email: Faker::Internet.email,
phone: Faker::PhoneNumber.phone_number,
first_name: FFaker::Name.first_name,
last_name: FFaker::Name.last_name,
email: FFaker::Internet.email,
phone: FFaker::PhoneNumber.phone_number,
status: random_status,
notes: Faker::HipsterIpsum.words(10).join(' ')
notes: FFaker::HipsterIpsum.words(10).join(' ')
)
end

Expand Down