
Learn to build a Ruby on Rails stock market portfolio app with user signup, profile editing, stock management, and detail views backed by a database.
Install node.js by uninstalling any existing version, download the latest lts from nodejs.org, choose the stable release, and restart your computer to complete the setup before installing ruby on rails.
Install and configure Sublime Text and the Git Bash terminal for your Rails development setup. Generate SSH keys for secure connections to GitHub and enable version control.
Learn to generate an SSH key in Git Bash, store it in a hidden .ssh directory, and use the public key with GitHub and Heroku for push access.
Install the Heroku tool belt to enable command line access to Heroku for Ruby on Rails projects and test the free hosting tier.
RailsInstaller.org is down, you can find the installer here:
https://web.archive.org/web/20210306035811/http://railsinstaller.org/en
In this video we'll create a new Ruby on Rails project and I'll explain the default directory structure of Rails. The Rails directory structure can seem overwhelming, but it's actually very simple to understand; as I'll show you in this video.
Launch the Rails server, view the default home page at localhost:3000, and learn how the Puma web server powers Rails development.
Connect your Ruby on Rails stock market app code to GitHub by setting up an SSH key, creating a public repository, and pushing changes with meaningful commit messages.
Create an about page in Rails by adding an about action to the home controller, creating the about view, and configuring a route in config/routes to home#about.
Explore how the application.html.erb layout in Rails uses a template with a head and body, yields page content, and centralizes navigation and footer for site-wide consistency.
Learn to add a Bootstrap navbar to a Rails app by copying a navbar from Bootstrap docs, customizing colors, removing unused items, wiring links with embedded Ruby, and improving layout.
Explore how the stock quote gem retrieves company information, statistics like market cap and 52-week highs, and logos for building data-driven apps, including a web form for tickers.
Create a custom web form in Ruby on Rails using form_tag to post a ticker input to the root path, then configure a post route to handle the look up.
Add basic error handling in the home controller using an if/elsif chain to catch a missing ticker, set a nothing message, and show 'hey you forgot to enter a symbol'.
Install the devise gem to add user management to a Ruby on Rails stock market app, enabling sign up, log in, portfolio creation, and password resets with generated views.
Install Devise and generate a user model, run migrations to create a users table with email, encrypted password, and password reset tokens, then migrate the database and review the schema.
Restart the rails server after devise changes and review routes with rake routes. Implement a bootstrap flash partial in the layout to display login and sign up messages.
Add sign up, log in, and log out links to the navbar, wired to new user registration and new user session paths. Plan to render links based on login status.
Learn to beautify forms with bootstrap by wrapping inputs in form groups, applying form-control classes, and styling login, sign up, and password pages within a bootstrap layout.
Learn to create Active Record associations between stocks and users in Rails by defining has_many and belongs_to, linking the stocks to a user and cleaning up scaffolding artifacts.
Authenticate users with devise using before_action in the stocks controller, enforce sign-in for CRUD actions, and prepare to display only the current user's stocks.
Implement a correct user check in the stocks controller with a before_action using current_user, so only the owner can edit, update, or destroy stocks and show only their stocks.
Create a new stock form that assigns the current user's id, hides the user id field, and displays only stocks belonging to the logged-in user.
Connect the stocks table to the quote gem by mapping each stock's ticker to its latest price and company name, and display the current price in the view.
Demonstrates error handling for stock index creation by validating blank inputs and preventing stale ticker, company name, and latest price from appearing. Shows several fixes and notes future methods.
Learn how to push a Ruby on Rails app to Heroku, use the free tier and dynos, and manage domains with the Heroku tool belt.
Push your existing Rails migrations to Heroku Postgres with Heroku run rails db:migrate, making your stock app live and editable with sign-up and stock creation features.
Learn to build a Ruby on Rails stock market app by connecting to a third-party API, storing data in a database, and deploying to Heroku, with Bootstrap for the UI.
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/
Sign in to cloud nine, create a Ruby on Rails workspace, and explore a Linux web server container with an in browser terminal and editor for Rails app development.
Explore the rails directory walkthru, clean the gemfile comments, and learn key app directories like assets, controllers, models, and views, plus routes and git for version control.
Set up git and connect to GitHub by generating an SSH key, adding it to GitHub, and pushing your project to a new repository.
Learn how the application.html.erb layout uses the yield tag and embedded ruby to render shared content and a navigation bar across all pages.
Discover how to create navigation links in rails using embedded ruby's link_to, leveraging route path helpers to build a dynamic, reusable nav bar.
Learn to create a professional navbar with bootstrap by copying a ready-made example from bootstrap components, pasting it into your app, and customizing links, brand, and dropdowns.
Bootstrap enables mobile-first design with the viewport tag and responsive containers. Wrap content in a container, adjust the nav bar, and preview across devices for a stock app interface.
Learn how to add user authentication to your Ruby on Rails stock market app using the devise gem, including setup, bundle install, routes, mailer, and sign up with user views.
Install devise and generate a user model, create the users migration, then run db:migrate to apply the schema to the development database (sqlite3), and understand migrations and schema.
Learn to configure devise navbar links in a Rails app, adding sign up, sign in, edit user, and sign out routes, and preview how the navbar changes with authentication.
Enhance devise views by applying bootstrap styling to login and signup forms, wrapping them in panels with titles and footers, and adding form group, form control classes, and styled buttons.
Discover using a Ruby if-else with devise to show home and about always, and conditionally display sign up, sign in, sign out, and edit profile links based on user sign-in.
Create a stocks table to store stock quotes and link them to users, using a Rails scaffold to generate migrations, forms, views, and routes.
Learn how Rails scaffolding generates stock views, routes, and a stocks controller, and how to connect stocks to users before using the stock features.
Learn how to associate two tables (stocks and users) in a Rails app by using belongs to and has many relationships between the stock and user models.
Add stocks and navigate with a refined nav bar, while the video explains crud—create, read, update, destroy—and how Rails scaffolding generates these actions for stocks, sessions, and registrations.
Use before_action and current_user to enforce correct user access for stock views, redirect unauthenticated users to sign up or log in, and ensure stocks link to the right user.
Learn how to automatically associate stocks with users in a Ruby on Rails app by using current_user and user_id, hiding fields, and enforcing authorization.
Link the stock quote gem to pull actual stock information for listings, display current prices on the stocks index, and implement error handling with updated controller and views.
Expand the stocks table in the Ruby on Rails stock market app by adding a company name column and turning names into links to the show page.
Deploy the stock market app to Heroku's free hosting tier and push code from the terminal; learn danos as horsepower and the app sleep behavior with upgrades.
Modify the gemfile to switch development sqlite3 to production postgres, add rails_12_factor and pg gems, and run bundle install --without production for heroku deployment.
Connect your Ruby on Rails stock app to Heroku by installing the Heroku toolbelt, logging in, creating an app, and pushing code with Git, then run migrations in production.
Learn to set a custom domain for your Heroku app by adding the domain in Heroku settings and pointing it from your registrar, such as Namecheap or Go Daddy.
Bonus lecture promotes lifetime membership to a vast coding library, including Ruby on Rails and many other courses, with a $200 discount to $49, full PDFs, certificates, and course Q&A.
Ruby on Rails can seem overwhelming at first, but it doesn’t have to be! In this course I’ll walk you through it step by step and you’ll be building your first web app in MINUTES. You’ll be amazed how quick and easy it is to create very professional looking websites, even if you have no programming or web design experience at all.
Watch over my shoulder as I build a cool Stock Market app step by step right in front of you. You’ll follow along and build your own copy. By the time we’re finished, you’ll have a solid understanding of Ruby on Rails and how to use it to build awesome web apps.
The course contains 42 videos – and is just over 3 hours long. Watch the videos at your own pace, and post questions along the way if you get stuck. You don’t need any special knowledge or software to take this course, though any experience with HTML or CSS is a plus. You don’t even need to know the Ruby programming language. I’ll walk you through EVERYTHING.
Ruby on Rails is a great web development tool and learning it has never been this easy.
What We'll Build...
We'll build a cool Stock Market app that let's you look up stock quotes and financial information and save it to a database.
Users can create an account and sign up to your website, log in, add stocks, check stock prices and all kinds of other cool financial information.
We'll style the website using the popular Bootstrap CSS framework (I'll show you how to use it!)
Sign up today and I'll see you on the inside!