ruby on rails Rails Associations An association is a connection between two Active Record models. It makes much easier to perform various operations on the records in your code. We will divide associations into four categories: 1. One
database Rails 5 Change Database Column While working on a Rails application, we all have had to change the database column in some way. You can change the column name and the column type, as well as changing the
ruby on rails Rake DB Commands Rake is a utility built into Ruby and Rails, which provides an efficient way for managing database changes. You can easily migrate database changes to servers by only using a command line! You
ruby on rails Rails Scaffold Scaffolding in Ruby on Rails refers to the auto-generation of a set of a model, views and a controller usually used for a single database table. For example, you can auto-generate a ready
database Migrating Database from Heroku to Ubuntu You created your own server, and now you would like to move all of your apps on Heroku to your custom server, right? If so, the first thing to do is to move