class Invoice < Ply # If you dont put this you will get all Ply records ply_name "Invoice__c" end