✕
ICT & Digital Skills

Ruby on Rails Training

This intensive Ruby on Rails training programme equips developers and technical professionals with the skills to design, build, and deploy robust web applications using the Rails framework. Participants progress from foundational Ruby syntax through to advanced Rails architecture, RESTful API development, testing, and cloud deployment. By the end of the course, delegates will be capable of delivering production-ready Rails applications independently.

⏱ 10 Days 📡 In-Person 🎯 Intermediate From KES 160,000

About This Course

Ruby on Rails remains one of the most productive and elegant web application frameworks in the industry, powering platforms such as GitHub, Shopify, and Basecamp. Its convention-over-configuration philosophy allows development teams to move from concept to working product faster than almost any other framework, making it a highly sought-after skill in both startups and enterprise technology teams across Africa and the Middle East.

This ten-day programme offered by TrainingComplex is designed to take participants from a solid understanding of Ruby fundamentals all the way through to building, testing, securing, and deploying full-stack Rails applications. The curriculum is structured to mirror real-world development workflows, giving delegates hands-on experience with MVC architecture, ActiveRecord ORM, RESTful routing, authentication systems, background jobs, API integration, and continuous deployment pipelines.

The course is delivered by experienced Rails practitioners who bring real project experience into the classroom. Each module combines conceptual instruction with guided coding exercises and project milestones, ensuring that participants leave not just with theoretical knowledge but with a working portfolio application they have built during the programme. Whether you are a developer transitioning into Rails, a technical lead evaluating the framework for your organisation, or a full-stack engineer deepening your back-end expertise, this programme provides a thorough, professionally structured learning journey.

Who Should Attend

Learning Objectives

Course Modules

Module 1: Ruby Fundamentals for Rails Developers

  • Ruby syntax, data types, and control flow
  • Object-oriented programming: classes, inheritance, and mixins
  • Blocks, procs, lambdas, and iterators
  • Ruby modules and namespacing
  • Error handling with begin/rescue/ensure
  • Gems and Bundler: managing Ruby dependencies

Module 2: Introduction to Ruby on Rails and the MVC Pattern

  • Rails philosophy: convention over configuration and DRY principles
  • Installing Rails and configuring the development environment
  • Rails application structure and directory conventions
  • Understanding the Model-View-Controller pattern in Rails
  • The Rails request-response lifecycle explained
  • Creating your first Rails application and running the local server

Module 3: ActiveRecord and Database Management

  • Introduction to ActiveRecord ORM and its role in Rails
  • Creating and running database migrations
  • Defining ActiveRecord models and validations
  • ActiveRecord associations: belongs_to, has_many, has_one, and has_many :through
  • Querying the database with ActiveRecord finders and scopes
  • Seeding the database and managing schema changes safely

Module 4: Routing, Controllers, and RESTful Design

  • Understanding the Rails router and routes.rb configuration
  • RESTful resource routing and named routes
  • Writing controller actions: index, show, new, create, edit, update, destroy
  • Strong parameters and mass assignment protection
  • Before-action callbacks and controller filters
  • Handling redirects, flash messages, and HTTP status codes

Module 5: Views, Layouts, and the Asset Pipeline

  • ERB templating and rendering views from controllers
  • Layouts, partials, and view helpers in Rails
  • Form helpers and form_with for building database-backed forms
  • The Rails asset pipeline: managing CSS, JavaScript, and images
  • Introduction to Hotwire (Turbo and Stimulus) for modern Rails UIs
  • Internationalisation basics and localising Rails views

Module 6: User Authentication and Authorisation

  • Overview of authentication concepts: sessions, cookies, and tokens
  • Implementing authentication with Devise: installation and configuration
  • Customising Devise views and mailers for your application
  • Role-based authorisation using Pundit policies
  • Protecting controllers and views based on user roles and ownership
  • Secure password storage, account confirmation, and password reset flows

Module 7: Building and Consuming RESTful APIs

  • Designing a RESTful JSON API within a Rails application
  • API-only Rails mode vs. full-stack Rails with API endpoints
  • Serialisers and JSON response formatting with Active Model Serializers
  • Versioning your API for backward compatibility
  • Consuming external APIs using HTTParty and Faraday gems
  • Authentication for APIs: token-based auth and JWT introduction

Module 8: Testing Rails Applications

  • Test-driven development philosophy and the Rails testing ecosystem
  • Writing model specs with RSpec: unit testing validations and associations
  • Controller and request specs for testing HTTP interactions
  • Feature and system tests with Capybara for end-to-end scenarios
  • Using FactoryBot for test data management and fixtures replacement
  • Code coverage reporting with SimpleCov and maintaining a healthy test suite

Module 9: Security, Performance, and Caching

  • Common web vulnerabilities in Rails: SQL injection, XSS, CSRF, and mass assignment
  • Rails security defaults and how to configure them correctly
  • Application-level caching: fragment, action, and page caching strategies
  • Database query optimisation: avoiding N+1 queries with eager loading
  • Background job processing with Sidekiq and Active Job
  • Profiling Rails applications with Rack Mini Profiler and Bullet gem

Module 10: Advanced ActiveRecord and Service Objects

  • Complex ActiveRecord queries, joins, and raw SQL when necessary
  • Database transactions and ensuring data integrity
  • Introducing the service object pattern to keep controllers thin
  • Refactoring fat models using concerns and Plain Old Ruby Objects
  • Polymorphic associations and single table inheritance use cases
  • Audit trails and soft deletion strategies in Rails applications

Module 11: File Uploads, Emails, and Third-Party Integrations

  • Handling file uploads with Active Storage and cloud storage backends
  • Sending transactional emails with Action Mailer and mailgun or SendGrid
  • Integrating payment gateways: Stripe API basics within a Rails app
  • Webhooks: receiving and processing third-party event notifications
  • OAuth integration for social login with OmniAuth
  • Background email delivery and mailer previews during development

Module 12: Git Workflows, Agile Practices, and Code Quality

  • Professional Git branching strategies: Gitflow and feature branch workflows
  • Code review culture: writing meaningful pull requests and review comments
  • RuboCop for enforcing Ruby and Rails style guide compliance
  • Refactoring techniques for improving legacy Rails codebases
  • Agile ceremonies in a development context: standups, sprint planning, and retrospectives
  • Documenting Rails APIs with tools like Swagger and RDoc

Module 13: Deployment, CI/CD, and Going to Production

  • Configuring Rails for production: environment variables, credentials, and secrets
  • Deploying to Heroku: Procfile, release phase, and add-ons
  • Introduction to containerising Rails applications with Docker
  • Setting up a CI/CD pipeline with GitHub Actions for automated testing and deployment
  • Application monitoring and error tracking with Sentry and Rails logging
  • Scaling Rails applications: horizontal scaling, load balancing, and background workers in production

Requirements & Prerequisites

Participants should have a foundational understanding of programming concepts and at least basic experience with HTML and CSS. Prior exposure to any server-side language such as Python, PHP, JavaScript, or Java is strongly recommended. No prior knowledge of Ruby or Rails is required, though familiarity with the command line and version control using Git will make the course significantly more accessible.

Training Methodology

Organisational Benefits

Where Is Ruby on Rails Training Offered?

This course runs in-person across: Nairobi, Zanzibar, Dubai, Nakuru, Abuja, Johannesburg, Pretoria, Kampala, Addis Ababa, Arusha, Kisumu, Naivasha, Accra, Dar es Salaam, Mombasa, Cape Town, Riyadh, Lagos, Kigali, plus Live Virtual (online) cohorts. Browse live dates for your city below.

Upcoming Schedules

LocationFormatDatesPrice
Nairobi, Kenya In-Person 5 Oct 2026 – 16 Oct 2026 KES 230,000
Zanzibar, Tanzania In-Person 5 Oct 2026 – 16 Oct 2026 USD 5,000
Dubai, United Arab Emirates In-Person 5 Oct 2026 – 16 Oct 2026 USD 8,200
Nakuru, Kenya In-Person 12 Oct 2026 – 23 Oct 2026 KES 230,000
Abuja, Nigeria In-Person 12 Oct 2026 – 23 Oct 2026 USD 5,600
Johannesburg, South Africa In-Person 19 Oct 2026 – 30 Oct 2026 USD 7,000
Pretoria, South Africa In-Person 19 Oct 2026 – 28 Oct 2026 USD 6,600
Kampala, Uganda In-Person 19 Oct 2026 – 30 Oct 2026 USD 3,800
Addis Ababa, Ethiopia In-Person 19 Oct 2026 – 28 Oct 2026 USD 4,800
Arusha, Tanzania In-Person 19 Oct 2026 – 28 Oct 2026 USD 4,200
Kisumu, Kenya In-Person 19 Oct 2026 – 28 Oct 2026 KES 240,000
Live Virtual Online 19 Oct 2026 – 28 Oct 2026 KES 160,000
Naivasha, Kenya In-Person 19 Oct 2026 – 30 Oct 2026 KES 230,000
Live Virtual Online 24 Oct 2026 – 13 Dec 2026 KES 160,000
Accra, Ghana In-Person 26 Oct 2026 – 6 Nov 2026 USD 7,600

+232 more dates — view live schedule →

Frequently Asked Questions

Do I need prior Ruby experience to attend this course?

No prior Ruby experience is required. The course begins with a dedicated module covering Ruby fundamentals specifically tailored for developers coming from other languages, so participants with general programming experience in Python, PHP, JavaScript, or similar will be well prepared to progress.

Will I receive a certificate upon completing the course?

Yes. Participants who attend the full ten-day programme and complete the required project milestones will receive a TrainingComplex Certificate of Completion in Ruby on Rails Development, which can be shared on professional profiles and used for CPD records.

What equipment do participants need to bring?

Each participant should bring a laptop capable of running a local development environment — ideally a machine with at least 8 GB of RAM running macOS, Ubuntu, or Windows 10/11 with WSL2. TrainingComplex will share a pre-course environment setup guide to ensure all delegates arrive with Ruby, Rails, Git, and a code editor configured and ready.

Is this course suitable for someone who wants to build a startup product using Rails?

Absolutely. The curriculum is designed around real-world application development, and by the end of the programme participants will have built a working Rails application covering authentication, APIs, file handling, payments integration, and deployment — skills directly applicable to launching a product.

How much of the course is hands-on versus lecture-based?

Approximately 70% of the course time is dedicated to hands-on coding, lab exercises, and project work. Instructors introduce each concept with a concise explanation before immediately moving into guided and independent coding activities, ensuring participants build genuine practical competence rather than passive knowledge.

View Live Schedule & Book →