
What is Ruby on Rails? Why is it important
You will learn the basics of the Ruby language in this quick 15 minute overview.
You will learn how to install the latest release of Ruby and Rails on your computer. For both Mac and PC.
A quick overview of the final product we would be building.
Learning how to generate our Project Management app.
Learning the basics of the Rails file structure as we move forward building our app.
Adding our home page to the app.
Signing and setting up Gihub as our code repository.
Routes are a very important element in Rails. In this lesson you will get familiar to routes and how to create and use them.
Add an about page by creating an about action and view in the pages controller, then map get 'about' to pages#about in config/routes.rb.
Learn to beautify Rails apps by integrating bootstrap via the bootstrap rails gem, install with bundle install, run generators, and verify styling changes after reloading the server.
Learn to use bootstrap elements by wrapping Rails views in a div class container within the master layout so every page stays centered and consistently spaced.
Update the home page in a Rails 5 app by inserting a Bootstrap jumbotron inside the container, adding a sign-up button with a placeholder link, and rendering code with ERB.
Install the Font Awesome gem, add it to the gemfile, and run bundle install, then configure the asset pipeline and stylesheets (application.css) to load icons for buttons and the navbar.
Install and use the simple form gem in a Rails app to streamline forms. Integrate with bootstrap, run the generator, and configure initializers and locales.
Configure routes and navigation links using Devise helpers to enable sign up, sign in, and sign out, show account settings for signed-in users, and update the home nav accordingly.
Enhance the Rails login form by customizing devise views with bootstrap and simple form: add placeholders, remove labels, apply form-control and btn-block, and center the form.
Improve sign up and edit forms by aligning markup with Rails conventions, adding f.errors notification for validation feedback, and applying centered layouts, placeholders, and bootstrap-like styling.
Generate the tasks table with a text content column and timestamps, create the task model, and use the Rails console to add tasks with create, new, and save.
Master the Rails console to edit and delete tasks, apply validations, and understand error messages, reloads, and basic Rails model rules for content presence and length.
Create new tasks from browser by defining routes for tasks, adding a tasks controller with new and create actions, and rendering a simple_form that redirects to the task show page.
Implement the edit action for tasks in Rails. Wire routes, build the edit and update actions, render the shared form, and handle validations with proper redirection and flash messages.
Build a tasks index to list all tasks, connecting controller, model, and view, and render a table with show, edit, and new task links using task_path and related routes.
Add a state attribute with default to do in Rails 5, enabling states to do, doing, and done. Update migrations, controllers, and views to display and filter tasks by state.
Learn how to add a custom action in rails to update a task's state with update_attributes, plus routing, a controller change action, and view links using put requests.
Refactor a Rails app by extracting a shared partial, render tasks by state with a collection, and use if-else state checks to show appropriate action links.
Create a test page using Bootstrap's 12-column grid to build three equal columns labeled to do, doing, and done, then add info panels with headers and footers.
Learn to enhance the tasks interface in a Rails app with a three-column panel, time ago in words, bootstrap buttons, and state transitions between to do, doing, and done.
Apply final design touches to a Rails app by styling task forms, centering content, adding a delete link with confirmation, and redirecting logged-in users to the task list.
Learn how to embed YouTube videos in a Rails 5 app by adding a content_html column, installing the auto_html gem, and rendering raw HTML in the task view.
Prepare production settings and install the Heroku CLI to deploy a Ruby on Rails app. Push to Heroku, migrate the database, and test a live application.
Here is a glimpse of the application we will be building. This e-commerce store will have flash messages, Stripe payments, State Machines, Environment Variables, Friendly URLs and Amazon S3
Wireframe for the Landing Page
Wireframe for book index page
Wireframe for the book show page
Wireframing the New & Edit page
Wireframing the Success page
Wireframing the Dashboard page
Wireframing login and sign in pages
In this lesson we will be generating our application and configuring our github to be able to save our work.
Install bootstrap for front-end design
Simpleform is the best way to make forms amazing right from the start.
Do you call yourself an entrepreneur?
Have you always wanted to have your own startup? Or maybe you want to work in one but have no idea where to start?
Do you have a great idea and know you can make it possible if only you could get some funding. But you need to show a working prototype to your potential investors?
Then this Ruby on Rails 5 course for building real world applications is for you. My name is Vishay Bhatia, and I'll be your instructor for the course.
I am a self taught rails developer. Just like you I too was a newbie not too long ago. So I know how confusing and intimidating the initial steps can be when you have decided to take on learning to code for yourself. That is why this course is laid out in the most simple way possible. I don't use complicated tech principles to get my point across.
What you will learn in this course:
We'll start the course by walking through the application architecture, this will teach you the concepts you will need to understand the file structure and how the MVC structure in rails works.
We will learn on how to add styling to our app using the latest Bootstrap 4 framework.
Since the application we're building is a real world app I'll constantly be adding to the course material with new features.
What ever you can dream about building, you can do so with Rails and I will show you how.
By the end of this course you will know what is happening under the hood of any rails application.
My goal is to turn you from a coding newbie to a coding ninja.
So join this course and take your first step of building your ideas into reality.
Please feel free to review the course curriculum and I look forward to going through the material with you on your development journey