Project

terrarum

0.0
No commit activity in last 3 years
No release in over 3 years
Contains generators and data for Country and Language models.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 3.0.0
 Project Readme

Terrarum

Need a full list of all of the countries of the world? Complete with ISO codes, numeric codes and short codes? What about all of the languages of the world? If thats the case then this gem solves your problems.

Terrarum is a Rails 3 generator, providing you files (model + migration) for countries and languages of the world. The list is put together based on Wikipedia.

Usage

# add this to your gemfile
gem "terrarum"
# and run
bundle install

# or just run
sudo gem install terrarum

To generate both Country and Language data: rails g terrarum:all

To generate only Country data: rails g terrarum:countries

To generate noly Language data rails g terrarum:languages

You can also override the default model names for both generators: rails g terrarum:countries pony

Authors

Tanel Suurhans (http://twitter.com/tanelsuurhans)
Tarmo Lehtpuu (http://twitter.com/tarmolehtpuu)

License

Copyright 2010 by PerfectLine LLC (http://www.perfectline.co.uk) and is released under the MIT license.