Open in app

Sign In

Write

Sign In

Akrav
Akrav

5 Followers

Home

About

Jun 25, 2021

Ruby on Rails MVC

To understand how Rails works you need to understand how the parts of Ruby on Rails fit together. The main parts are the Model, View and Controller. The Model is where Ruby on Rails gets its data. It talks with the database by making an SQL Query. The model is…

2 min read

Ruby on Rails MVC
Ruby on Rails MVC

2 min read


Jun 4, 2021

rake db:seed

To begin, Rake is a tool that allows us to centralize our tasks so we can run them from one place. It eliminate the need to re-write scripts. You can even building your own rake task. For example, I created a Rake task that simply ‘puts’ “does this work???” in…

3 min read

rake db:seed
rake db:seed

3 min read


May 13, 2021

How Optional Chaining (?.) Helps

Optional Chaining is a tool I learned while building a quiz app that randomizes question order. In order to randomize the question we needed to create a new array called, ‘question’, that held the single randomly selected question. We also wanted to have the randomly selected question appear immediately upon…

2 min read

How Optional Chaining (?.) Helps
How Optional Chaining (?.) Helps

2 min read


Apr 22, 2021

Fetching JSON:

Fetching JSON: I like the fetch() function because, for me, it is what crystallized the concepts of data flow, parameters, and the implicit and explicit passing of data into callback functions. …

3 min read

Fetching JSON:
Fetching JSON:

3 min read

Akrav

Akrav

5 Followers
Following
  • M.G. Siegler

    M.G. Siegler

  • Eliot Peper

    Eliot Peper

  • Patrick’s Personal and Professional Musings

    Patrick’s Personal and Professional Musings

  • Kevin Siskar

    Kevin Siskar

  • Mason

    Mason

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech