Relational AR: Active record is trying to select an invalid column

This worked perfect for me!! Thanks Antonio!