As a Rails developer, you’re likely familiar with ActiveRecord, a core Rails component functioning as an interface for data stored in a database. ActiveRecord’s power lies in its ability to establish associations between models, simplifying complex database operations execution. Let’s take a comprehensive tour of ActiveRecord associations, their various types, and their implementation in Rails…
Continue ReadingTag: has_many
Creating A Photo Album App With Rails
Creating a bare bone photo album app Today, i’ll show you how to create a basic photo album app with rails6, i’ll be using active_storage to manage uploads/attachments of our photo album. This app will be a very basic photo gallery/ablum app with just the bare bones, so no special styles, no file validations, authentication,…
Continue Reading