Real-life Ruby on Rails App From Scratch In 14 Hours (RSpec)
4.5 (20 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
9,115 students enrolled

Real-life Ruby on Rails App From Scratch In 14 Hours (RSpec)

I remaked my first Ruby on Rails application after two years of commercial experience.
4.5 (20 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
9,115 students enrolled
Created by Hubert Jakubiak
Last updated 3/2020
English
English [Auto]
Current price: $139.99 Original price: $199.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 14.5 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Create Ruby on Rails application from scratch
  • Install gems
  • Write service objects
  • Write model and controller specs in RSpec
  • Debug and fix bugs
  • Looking for solutions using Google search
Course content
Expand 80 lectures 14:35:57
+ Real-life Ruby on Rails App From Scratch In 14 Hours (RSpec)
80 lectures 14:35:57
Create skeleton of the application
05:58
Create remote repository on GitHub
03:54
Install Haml
04:22
Create Word model
17:22
Change database from SQLite to PostgreSQL
05:03
Install Simple Form gem
02:41
Create WordsController and basic index view
12:47
Write spec for WordsController
08:31
Add validation to check presence of value and language attributes
08:35
Install factory_bot gem
08:40
Refactor spec for WordsController
05:42
Create view and form to add new words
10:47
Install bootstrap
05:54
Set root_path and create show action for single Word with specs
09:26
Rename the project
09:07
Implement basic styling
13:01
Update title and add link to show view
05:29
Rename column value to content
05:44
Fix views after renaming column
01:36
Fix form after renaming column
02:34
Install language_list gem and add new validation for language field
19:19
Move language string to separate model
13:19
Add relationships between Word and Language models
19:10
Allow to edit Word
22:21
Allow to delete Word
09:02
Use before_action in WordsController
04:40
Install Devise gem
09:05
Add links to login, logout etc
05:48
Only signed in users can add new words
05:31
Improve spec to test scenarios when user is signed in or not
31:27
Connect word with user who created it
12:52
Only signed in users can edit and destroy words
13:16
Prepare seeds
11:35
Implement authorization with pundit gem
13:01
Fix specs after authorization changes
08:11
Write specs for authorization
11:41
Add pagination for words index view
13:18
Install brakeman, bundler-audit gems for security reasons
09:43
Add new relationships to Word model for translations
17:11
Add specs for new relationships between models
09:59
Install nested_form gem and use it for translations
15:35
Write spec for nested_form stuff in create action
22:35
Display count of translations for each word in index view
10:42
Do not allow translations to be in the same language as Word
15:50
Implement bootstrap navbar and improve some styling
17:44
Styling improvements to get decent look
36:42
Hide part of email address for visitors
12:06
Update rack gem to fix security vulnerability
03:38
Create Game model
08:45
Fix bug about deleting translations
04:34
Allow user to create new Game
12:36
Write specs for creating new Game by user
20:25
Authorize Game object so only its user can access it
06:57
Add info about good and bad answers to show page
04:03
Create service object to get random Word
21:52
Query only words with translations when looking for random Word
09:57
Create service object to check answer provided by user
10:15
Write specs for service object checking answers
07:16
Try to use service object to check answers in view
32:29
Update game stats and write new specs for service object
18:28
Move logic about preparing message to service object
15:17
Write specs for AnswersController
17:45
Make sure that user can access game
06:48
Improve styling of Game show page
13:28
Make main input autofocus
02:23
Improve way to notify if answer was good or bad
17:26
Add link to continue previous Game
06:23
Add correctness method to Game model
22:08
Fix bug when try to add new translation in edit view
08:12
Add dependent destroy option
04:02
Show links only if user can perform the action
03:01
Add confirm prompt before destroy Word
02:33
Show input for first translation at once
03:19
The end
01:56
Improve index query
03:01
Enable Faker gem on production & fix security issues by updating gems
08:25
Fix another security issues by update gems (no sound)
06:12
Requirements
  • Very basic knowledge of Ruby and Ruby on Rails framework
Description

After two years of working as a Ruby on Rails developer, I decided to remake my first Ruby on Rails application. This time I do not forget about writing decent test coverage. I'm sharing with you the full journey of creating new application so I did not skip any part when I was looking for solutions using Google search. During this course you should definitely get the idea how writing Ruby on Rails application looks like in real life. Are you ready for that?

Who this course is for:
  • Beginners who would like to see how to create Ruby on Rails application with decent test coverage which is very important if you are thinking about getting a job as a developer.