You don't need the ```.``` in ```@.findByAttribute```, ```@findByAttribute``` will work just fine.