Skip to content

A demonstration of a polymorphic association of rails

Notifications You must be signed in to change notification settings

JuzerShakir/polymorphic

Repository files navigation

Rails Association (polymorphic)

Here is an article that gives detailed explaination of this association with the following example: “A user uses either macOS, Windows or Linux Operating System.”


❗ What needs to be done?

Must accomplish the following:

  • Able to associate 4 tables/models through polymorphic and other relevant associations.

📋 Execution

Run the following commands to execute locally:

The following will install required version of ruby (make sure rvm is installed.)

rvm install x
rvm use x
git clone git@github.com:JuzerShakir/polymorphic.git
cd polymorphic
bundle install
rails c

About

A demonstration of a polymorphic association of rails

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published