
Trace the origins of Ruby on Rails, the open source web framework built on Ruby that popularized the model view controller paradigm, convention over configuration, and don't repeat yourself.
Explore the Rails directory structure from gem file to assets, models, controllers, views, mailers, helpers, and config, including routes, database.yml, sqlite3, and tests.
Define a book class with title, author, and price, implement a constructor and a to_s method, and define an expensive? method to mark books over 20 dollars.
Practice implementing Ruby string and numerics exercises by building a palindrome checker, counting vowels case-insensitively, and reducing fractions using gcd in Ruby's integer class.
Explore arrays in Ruby as ordered collections indexed from zero, using square brackets, negative indices, and ranges to access, modify, and return elements in practical examples, including array literals.
Discover how hashes differ from arrays and use curly braces syntax for key-value pairs. Learn accessing, updating, and passing hashes to methods and constructors, including default values and ternary operator.
Explore Ruby control structures by evaluating if and case statements and practicing while, until, and times loops with practical examples.
Practice three Ruby exercises on arrays and hashes: compute min and max without iteration, filter products by cost with find_all, and map numbers to twice plus five.
Master the active record query interface to filter data, order results, and use where and find_by in Rails with SQL injection protection.
Learn to define reusable Rails scopes on models to filter data, such as hours >= 8 or recent items, using a concise syntax and the ActiveRecord query interface.
Rails ties validations to the model to guard data before saving, offering error reporting and examples like presence, integer, and greater-than-zero validations.
Builds the web framework by creating controllers and views and defines resourceful routes for actions like index, show, new, create, edit, update, and delete.
Generate controllers for projects and works, add index and show actions and corresponding templates, define resourceful routes, and run Rails server to test at localhost:3000.
Explore the Rails action view layer by building on models and controllers to render layouts, using the application layout, yield, partials, and helpers, with formats like HTML, JavaScript, and JSON.
Install devise in the time tracker application and add an email field to the users. Generate devise for the user model, adjust migrations, and review updated schema and flash notices.
Learn to implement devise-based authentication in Rails by building a login status message in the application helper, displaying sign in and sign out links, and protecting controllers with before_action authenticate_user.
Learn to wire a file upload into the works model by adding a doc field, saving the filename, and showing a link when a document exists.
Review enhances CSV export of projects by using associations to output company and owner names, adds the most recent work item, and customizes headers for clarity.
This Ruby on Rails tutorial from Infinite Skills will take you through the key features of this open-source web development framework while leading you through the development of a time-tracking web application. This course is designed for users that already have a working knowledge of the Ruby programming language.
You will start with a tour of Ruby Syntax and how to run Ruby code, learning about objects and classes, strings and numerics, and control structures in Ruby. You will then begin to create a Rails app, covering topics such as domain modeling, controllers, views, creating forms, and authentication. This video tutorial will also teach you how to use Ajax with Rails, handle file uploads, send emails from the server, and export content to CSV, JSON, and XML. Finally, you will learn how to test Rail apps and write model and controller tests.
By the completion of this computer based training course, you will be fully capable of creating a web app from start to finish with Ruby on Rails. Working files are included, allowing you to follow along with the author throughout the lessons.