def get_table_name table
			if table.is_a? String
				return table
			elsif table.methods.include? :name
				return table.name
			end
			return table
		end
def get_table_name table
			if table.is_a? String
				return table
			elsif table.methods.include? :name
				return table.name
			end
			return table
		end
always returns the name of the table (String) regardless of whether the name is passed in or if the model is passed in