public
Description: The Country Codes plugin finds and converts between country information as described in ISO 3166-1; forked from official SVN repo to fix bugs
Homepage: http://blog.whitet.net/pages/country-codes
Clone URL: git://github.com/ptb/country_codes.git
Search Repo:
country_codes / CHANGELOG
100644 20 lines (13 sloc) 0.69 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
========================================
 
Revision 4:
  * Added countries_for_select method, which takes parameters for a resulting
    array for use in a select tag
    
    countries_for_select('a2', 'name') # yields something like [ ['AU', 'Australia'] ...lots more... ]
 
========================================
 
Revision 4:
  * Added CHANGELOG
  * Added support for methods of the form find_ATTRIBUTE_by_ATTRIBUTE such as:
    
    find_a2_by_name('Australia') # yields 'AU', which is equivilant to
    find_by_name('Australia')[:a2] # yields 'AU' also.
    
  * Tests updated to support methods of the form find_ATTRIBUTE_by_ATTRIBUTE
 
========================================