Making Music With Active Record Associations - DEV Community
29-Mar-2023 616
My latest project involves creating an Eclectic Music database. The purpose is to allow the user to store data about all types of music. Eclectic means deriving ideas, style, or taste from a broad and diverse range of sources. This is why I gave this music database this name. It will allow the user to fully express their musical tastes.All excitement aside, this is a database for which Active Record was made to handle. Recall that Active Record is a object relational mapper (ORM) which maps classes to tables. Each instance of a class is mapped to a row (aka record). These records can be linked to other records through associations. Here are the common association macros below.
Making Music With Active Record Associations - DEV Community #ruby #rubydeveloper #rubyonrails #Making #Music #Active #Record #Associations #Community #active #dev #record https://rubyonrails.ba/link/making-music-with-active-record-associations-dev-community