Did St. Bernard write 'The Memorare'?

He promoted devotion to Our Lady but it is not certain that he wrote 'The Memorare'. This prayer only appeared 300 years after his death. It is, nevertheless, associated with him.