
Check out my student Facebook Group...
It's a great place to get fast support for this course from me, to interact with other students, to post your projects and code, and to access course announcements and extras...
Join Now!
https://www.facebook.com/groups/codemycom/
Install Ruby on Rails on Windows by downloading Node, a text editor, a terminal such as Git Bash, and the Heroku toolbar, then install Rails in upcoming videos.
Install Sublime Text or your preferred editor and set up the Git Bash terminal, then generate an SSH key to connect to GitHub and Heroku for version control and hosting.
RailsInstaller.org is down, you can find the installer here:
https://web.archive.org/web/20210306035811/http://railsinstaller.org/en
Explore how hashes store key-value pairs with curly braces, unlike arrays with numeric indexes, and access a value by its key (for example john's pepperoni or mary's cheese) for data.
Discover how the Ruby each loop iterates over ranges and arrays with blocks, creating ranges like 1..5 and printing items. See how Rails uses each loops when handling database data.
Explore how Ruby classes act as blueprints, using initialize to set instance variables and instantiate with new to create a square object defined by side length, with uppercase class names.
Install and update the Faker gem, then generate a superhero name and power in the Rails controller using instance variables and display them in the view with embedded Ruby.
Explore generating avatars with Faker gem and the RoboHash API, randomly choosing robots, monsters, robot heads, or kittens with two backgrounds, sized at 300 by 300, and loaded on load.
Explore faker avatar variables in Ruby on Rails by generating random avatars with Ruby's rand, and toggle set numbers and backgrounds to vary avatars on each page reload.
Create a post route to the home controller's team action and wire it in config/routes.rb. The lecture covers Rails routing basics and points to Rails guides.
Learn how forms send data to Rails via params, how the controller receives the parameter, assigns an instance variable, converts it with to_i, and renders the result.
Manage form conditionals in Ruby on Rails using embedded Ruby to distinguish first page load from form submission. Display outcomes from the team number check and plan a neater flow.
Explains debugging team looping in a Rails app by showing how instance variables are set in the home controller and moving looping logic to the show page.
Master embedding Ruby to render looping avatars in a Rails view, refine variable usage, and debug erb templates before deploying to production.
Learn to set up a custom domain for a Heroku-hosted app by adding the domain in Heroku and updating DNS at your registrar to point to Heroku for scalable hosting.
In this course we'll learn how to build apps (web sites) with Ruby on Rails.
We'll build this fun little superhero name generator website that will allow us to connect with a third party API to generate data and images, then we'll learn how to manipulate that on our app.
I'll also teach you the Ruby programming language. Most people get Ruby on Rails and Ruby confused, but they're two different things. Rails is a web framework for building apps, Ruby is a programming language...we'll learn both in this course!
We'll also really dive into the the Rails controller (the "C" in the Rails MVC system). Learning how to work with the Controller gives you all kinds of power over your app to do really cool things.
Finally, we'll also learn how to use the hugely popular Bootstrap CSS framework to style our app. Bootstrap is easily the most popular CSS framework in the world, and you'll learn everything you need to use it right here in this course.
If you already know a little Ruby on Rails, this course will make you a much stronger developer. If you've never seen or used Rails at all; you'll fit right in too! I take things slow and explain absolutely everything you need to know!
See you inside!
-John Elder