Sha256: dc117db6e4bbb905d771bfa6ca94f2831fc6f2c3dedc485679bc6a0eb8fd01a6
Contents?: true
Size: 645 Bytes
Versions: 2
Compression:
Stored size: 645 Bytes
Contents
namespace :countries do desc 'Generates a new fixtures file for the countries table' task :create_fixtures => :environment do Country.create_fixtures(ENV['OUTPUT']) end desc 'Bootstraps the countries table with the latest ISO 3166 standard' task :bootstrap => :environment do Country.bootstrap end end namespace :regions do desc 'Generates a new fixtures file for the regions table' task :create_fixtures => :environment do Region.create_fixtures(ENV['OUTPUT']) end desc 'Bootstraps the regions table with the latest ISO 3166-2 standard' task :bootstrap => :environment do Region.bootstrap end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
has_addresses-0.0.1 | tasks/has_addresses_tasks.rake |
has_addresses-0.0.2 | tasks/has_addresses_tasks.rake |