I would point out that the "official" way to do this is with associations:
has_many :days
You can then do everything you wanted quite easily.
(This is actually part of normal form, which are key principles of database design)
I would point out that the "official" way to do this is with associations:
has_many :days
You can then do everything you wanted quite easily.
(This is actually part of normal form, which are key principles of database design)