Create a table named GamePlayer. It should be the association between the game and the player (i.e. many-to-many association table)
Create a model for it.
Columns:
id -> default id
created_at -> default timestamp
updated_at -> default timestamp
position -> check this gem https://github.com/brendon/acts_as_list
Create a table named
GamePlayer
. It should be the association between the game and the player (i.e. many-to-many association table) Create a model for it.Columns:
id
-> default idcreated_at
-> default timestampupdated_at
-> default timestampposition
-> check this gemhttps://github.com/brendon/acts_as_list
Model:
has_many :through
)Validations:
Seeds: