Allign records with start- and enddates


#1

I have this model (Days), that has a start- end enddate. It has a
belongs_to relationship with Child. So, one child can have many Days.

If a new Day is added, the start- and enddates should all allign. Is
there a plugin, or a ruby class that I could use to achieve this?