I want to create a list of distinct month / year values based on a date fields in my db. So for example in my table I have
id | date_added | title
1 | 01/06/2010 | ????
2 | 02/09/2009 | ????
3 | 24/08/2009 | ????
4 | 15/06/2009 | ????
5 | 16/06/2009 | ????
and this table is from model article
how would I create a list of:
['June 2009', 'August 2009', 'September 2009', 'January 2010']