This validation approach works, but you could do the short hand way: `validates_presence_of :category, :total, :bank_id `