
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.
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.
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.
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.
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.
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.
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 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/
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.
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 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.
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.
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.
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.
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!