activerecord saves the day