I can’t seem to figure out a way to persist a hash attribute in
ActiveRecord. Let’s say I have a Game, which has a many-to-many with
Each player has an index, but the array can have empty spaces in it
(since a game might not be filled up yet).
I’d like to model this using a hash, with position --> player mapping.
(What I don’t want to do is create a “nil” player).
In Hibernate, you would do this with … is there an ActiveRecord