Skip to content

Commit

Permalink
i totally forgot markdown gives you pre tags for free
Browse files Browse the repository at this point in the history
  • Loading branch information
joho committed Oct 20, 2009
1 parent 75bc617 commit 8c97c2f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,17 @@ I need a decent plugin that can do the following things with [the geonames datab
* generate me my models for free (but leave them in models so i can hack them up later)

Install the plugin by doing the following in your rails app root dir
<pre>

script/plugin install git://github.com/joho/geonames-rails.git
</pre>

You next step is to run the generators to give you the bare bones country/city models and the db migration
<pre>

script/generate geonames_migration
script/generate geonames_models
</pre>

Once you've run that migration and got your models set up how you like you're right to pull down the data straight from the geonames server and into your database. It's as easy as one little command
<pre>

rake geonames_rails:pull_and_load_data
</pre>

DONE
---
Expand Down

0 comments on commit 8c97c2f

Please sign in to comment.