Open in app
Home
Notifications
Lists
Stories

Write
James JingChao Yu
James JingChao Yu

Home

Oct 14, 2021

Rails Guide — Part 10 Using Bootstrap

In this week’s Rails blog, we are going to take a look at how to use Bootstrap for our app. We will be using our Flatiron Kitchen app from last week, you can download the code at this GitHub link and follow along. Bootstrap is a CSS framework that allows…

5 min read

Rails Guide — Part 10 Using Bootstrap
Rails Guide — Part 10 Using Bootstrap

Oct 7, 2021

Rails Guide — Part 9 View Files Continued

Continuing from last week’s blog, today we will go over view helper methods and how they can help to speed up our development process. Before we begin, you can download the code for today’s example at this GitHub link and follow along. I’ve made minor changes to the routes: Next…

5 min read

Rails Guide — Part 9 View Files Continued
Rails Guide — Part 9 View Files Continued

Sep 28, 2021

Rails Guide — Part 8 View Files Continued

In our last guide, we took a look at how to manually add a view file in our Rails application, how to modify the application layout, and implement basic CSS to it. This week we will discuss how to make our own layout file and incorporate partials. Starting up the…

6 min read

Rails Guide — Part 8 View Files Continued
Rails Guide — Part 8 View Files Continued

Sep 20, 2021

Rails Guide — Part 7 View Files

In our last guide we finished our exploration on the Model component in a Rails application. We looked at all the ActiveRecord associations and their usage, we discussed data validation and custom scopes. …

5 min read

Rails Guide — Part 7 View Files
Rails Guide — Part 7 View Files

Sep 14, 2021

Rails Guide — Part 6 Database Models Continued

Last week we looked at the has and belongs to many association in Rails and how it was different from the has many through/belongs to association. Today we will discuss the has one relationship, as well as data validation, custom scopes in the model component. As a reminder, our models…

5 min read

Rails Guide — Part 6 Database Models Continued
Rails Guide — Part 6 Database Models Continued

Sep 10, 2021

Rails Guide — Part 5 Database Models Continued

In our previous blog, we took a look at the model component (The M in MVC) in a Rails application. We learned how to manually create a model and a table, add and remove columns to the table, as well as some commonly used associations between models: has many, belongs…

5 min read

Rails Guide — Part 5 Database Models Continued
Rails Guide — Part 5 Database Models Continued

Aug 30, 2021

Rails Guide — Part 4 Database Models

In our previous blog we talked about how a Rails controller acts similar to an intermediary between the routes, models, and views. Today we will look at the model component inside of a Rails application. In the simplest terms, a model is a table within our database. Such model can…

5 min read

Rails Guide — Part 4 Database Models
Rails Guide — Part 4 Database Models

Aug 23, 2021

Rails Guide — Part 3 Controller Actions Continued

Continuing from last week’s blog on Rails controller, today we will take a look at what else we can accomplish inside of a controller, getting data from the routes via the params hash, the importance of the application controller, and what exactly is the concerns folder inside of the controllers…

5 min read

Rails Guide — Part 3 Controller Actions Continued
Rails Guide — Part 3 Controller Actions Continued

Aug 17, 2021

Rails Guide — Part 2 Controller Actions

In our last blog we talked about the routes in a Rails application. Today we will take a deeper look at a Rails Controller. As you might know, Rails follows the MVC (Model View Controller) design pattern, when a user goes to a valid link on your site, it is…

5 min read

Rails Guide — Part 2 Controller Actions
Rails Guide — Part 2 Controller Actions

Aug 9, 2021

Automated Testing with Cypress

In a previous blog, we explored about using Selenium with Ruby to automate tasks. We ran basic commands like navigating to a webpage, entering data into a search bar, clicking on a button. However we did not discuss the testing aspect of it. Today we will take a look at…

6 min read

Automated Testing with Cypress
Automated Testing with Cypress
James JingChao Yu

James JingChao Yu

Following
  • Christopher Read

    Christopher Read

  • Diana Liao

    Diana Liao

  • Matthew Aquino

    Matthew Aquino

  • Max Beneke

    Max Beneke

  • Avelon Pang

    Avelon Pang

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable