change function def self.table_name to self.table_name

Fix the older method def self.table_name () => self.table_name

Thanks