Monday , September 28 2020

[100%OFF]Real-life Ruby on Rails App From Scratch In 14 Hours (RSpec)

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?

Curriculum

1 Sections •

79 Lectures

• 14h 29m total lengthReal-life Ruby on Rails App From Scratch In 14 Hours (RSpec)

  • Introduction
  • Create skeleton of the application
  • Create remote repository on GitHub
  • Install RSpec
  • Install Haml
  • Create Word model
  • Change database from SQLite to PostgreSQL
  • Install Simple Form gem
  • Write spec for WordsController
  • Add validation to check presence of value and language attributes
  • Install factory_bot gem
  • Refactor spec for WordsController
  • Create view and form to add new words
  • Write specs for new and create methods in WordsController
  • Install bootstrap
  • Set root_path and create show action for single Word with specs
  • Rename the project
  • Implement basic styling
  • Update title and add link to show view
  • Rename column value to content
  • Fix views after renaming column
  • Fix form after renaming column
  • Install language_list gem and add new validation for language field
  • Move language string to separate model
  • Add relationships between Word and Language models
  • Allow to edit Word
  • Allow to delete Word
  • Use before_action in WordsController
  • Install Devise gem
  • Add links to login, logout etc
  • Only signed in users can add new words
  • Improve spec to test scenarios when user is signed in or not
  • Connect word with user who created it
  • Only signed in users can edit and destroy words
  • Prepare seeds
  • Implement authorization with pundit gem
  • Fix specs after authorization changes
  • Write specs for authorization
  • Add pagination for words index view
  • Install brakeman, bundler-audit gems for security reasons
  • Add new relationships to Word model for translations
  • Add specs for new relationships between models
  • Install nested_form gem and use it for translations
  • Write spec for nested_form stuff in create action
  • Display count of translations for each word in index view
  • Do not allow translations to be in the same language as Word
  • Implement bootstrap navbar and improve some styling
  • Styling improvements to get decent look
  • Hide part of email address for visitors
  • Update rack gem to fix security vulnerability
  • Create Game model
  • Fix bug about deleting translations
  • Allow user to create new Game
  • Write specs for creating new Game by user
  • Authorize Game object so only its user can access it
  • Add info about good and bad answers to show page
  • Create service object to get random Word
  • Query only words with translations when looking for random Word
  • Create service object to check answer provided by user
  • Write specs for service object checking answers
  • Try to use service object to check answers in view
  • Update game stats and write new specs for service object
  • Move logic about preparing message to service object
  • Write specs for AnswersController
  • Make sure that user can access game
  • Improve styling of Game show page
  • Make main input autofocus
  • Improve way to notify if answer was good or bad
  • Add link to continue previous Game
  • Add correctness method to Game model
  • Fix bug when try to add new translation in edit view
  • Add dependent destroy option
  • Show links only if user can perform the action
  • Add confirm prompt before destroy Word
  • Show input for first translation at once
  • Improve index query
  • The end
  • Enable Faker gem on production & fix security issues by updating gems

The post [100%OFF]Real-life Ruby on Rails App From Scratch In 14 Hours (RSpec) appeared first on Tricksinfo.

About

Check Also

Forex swing trade: get swing trading strategy to be trader

[100% Off] Forex swing trade: get swing trading strategy to be trader Udemy Coupon Go …

Leave a Reply

Your email address will not be published. Required fields are marked *