logic feels right but Im getting activerecord errors