This article aims to help people who want to learn about the seed feature in Rails. After this article readers will be able to quickly populate their database with the predefined records.
This file is triggered by the
rails db:seed command and runs in the Rails context. Which means all the model structure will be available within the file.
It is also triggered by the
rails db:reset and
rails db:setup commands.
As it is obvious from the name, the main purpose of this file is to seed the database.
This is a very useful feature especially when you are in the learning stage where you are resetting the database many times in a day. …
It has been 5 months since I have participated in one of the best modern schools in the world and more than a year since I have actively started to learn software development.
Since then, I have enrolled in these events:
Education is the very act of transferring the only thing we can transfer from a person to another person, that is “information”.
In this article, I will share insights about my experiences and then I will tell you why Microverse’s education system is probably the best of its kind. …
Engineering is about dividing problems into smaller partials. And then solving them with the best approach. As an engineer, I enjoy problem-solving.
In this article, you will learn how to create friendships on Rails. In the most basic form, this is far away from perfection. But totally working. You can find the GitHub repository link at the bottom of the page to dive deeper into the code. In the repository, you will also find very simple session management.
After reading this article you will have an understanding of friendships on Rails.
When you want to create a rails app with user friendship interaction, you have to decide what your final product will be. There are many different ways to form a friendship model. In this project we are choosing this…
After I got my Engineering diploma I have worked in several places. Those were professional factories including Croissant Production and Juice Extraction plants. I was dealing with data in all of those places. I understood that people could be much more successful with the help of software. So these incidents put me in a way to think more about handling data and finding my way in the computer world.
Since I first clicked on the Microverse advertisement time passed so quickly and I learned so much. …