Standard

Ruby on Rails: From Language to Full-Stack Web Development

210 Lectures 42 Quizzes Beginner 8h 30m 2,000 Rs
Ruby on Rails: From Language to Full-Stack Web Development

About this Course

Learn to craft robust, database-driven web applications rapidly with Ruby on Rails. Master the Ruby programming language, MVC architecture, and the philosophy of Convention over Configuration. Build rich database relationships using Active Record, create server-rendered views with Hotwire & Turbo, implement secure authentication, and process payments with Stripe.

In this Course You'll Learn

Ruby Language Fundamentals & Object-Oriented Design

  • Object-Oriented Ruby: Master Ruby syntax, classes, inheritance, modules, mixins, symbols, and expressive block iterations.
  • Dynamic Typing & Memory: Understand how Ruby handles objects, string interpolation, and garbage collection under the hood.
  • Ruby Gem Ecosystem: Manage application dependencies smoothly using Bundler, Gemfiles, and native Ruby gems.
  • Interactive Console & IRB: Test expressions, inspect classes, and experiment with Ruby logic using the Interactive Ruby shell.

Rails MVC Architecture & Active Record Mastery

  • Convention over Configuration: Accelerate web development by embracing Rails defaults, directory layouts, and automated code generators.
  • Active Record Relational Modeling: Design database schemas with migrations, configuring One-to-Many, Many-to-Many, and Polymorphic relationships.
  • Query Optimization: Write expressive database queries and eliminate costly N+1 query bottlenecks with eager loading (includes).
  • RESTful Resource Routing: Map standard HTTP verbs to Rails controllers using resource routing, strong parameters, and form helpers.

Interactive Hotwire Views, Authentication & Stripe

  • Modern Hotwire & Turbo: Build responsive, SPA-like interfaces without complex JavaScript using Turbo Frames and Turbo Streams.
  • Complete Authentication: Build secure user authentication from scratch with session cookies, password hashing (bcrypt), and role authorization.
  • Background Jobs with Sidekiq: Process long-running tasks, email notifications, and data imports asynchronously using Redis and Sidekiq.
  • Stripe Payment Checkout: Integrate complete e-commerce checkout flows, handle Stripe webhooks, and record transaction records securely.

Course Curriculum

Section 1: Meeting Ruby and Running Your First Program

  • What Ruby is and why Rails is built on it Free Preview
  • Installing Ruby on your computer with a version manager such as rbenv or asdf Free Preview
  • Printing text with puts and print Free Preview
  • Running a Ruby file from the terminal with ruby filename.rb Free Preview
  • Trying small pieces of code in irb, the interactive Ruby shell Free Preview
  • Quiz 1: Checking what you learned about meeting Ruby and running a program Free Preview

Section 2: Variables, Data Types, and Strings

  • Creating variables and reading their values Free Preview
  • Integers, floats, booleans, and nil in simple words Free Preview
  • Joining text with plus signs and string interpolation with #{} Free Preview
  • Symbols such as :name and why Rails uses them so much Free Preview
  • Checking a value's type with class and inspecting it with p Free Preview
  • Quiz 2: Checking what you learned about variables, data types, and strings Free Preview

Section 3: Operators, Conditions, and Decisions

  • Math operators for adding, subtracting, multiplying, and dividing
  • Comparison operators such as ==, !=, and >
  • Writing if, elsif, and else blocks to choose a path
  • Combining checks with &&, ||, and !
  • Using unless, case, and the ternary operator for short choices
  • Quiz 3: Checking what you learned about operators and conditions

Section 4: Arrays, Hashes, and Loops

  • Creating arrays and reading items by their position
  • Creating hashes with keys such as name and age
  • Looping with each, times, and upto
  • Using while and until loops when you need a condition
  • Transforming lists with map, select, and reduce
  • Quiz 4: Checking what you learned about arrays, hashes, and loops

Section 5: Methods and Blocks

  • Writing a method with a name, inputs, and an implicit return value
  • Default values and keyword arguments for methods
  • Passing a block with do...end and curly braces
  • Yielding to a block from your own method
  • Procs and lambdas in simple words
  • Quiz 5: Checking what you learned about methods and blocks