Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fleitz committed Mar 27, 2011
1 parent 33a2950 commit 5492357
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.textile
Expand Up @@ -9,6 +9,9 @@ rake db:migrate:geoinfo # <= Creates geoinfo_cities and geoinfo_states db tables

I haven't added a rake task to populate the database yet. But the YAML files are in vendor/plugins/geoinfo/lib/db/*.yml

h2. Rails 3 Support
This fork of the plugin now supports Rails 3.0.5

h3. Usage, non-plugin style

The relevant files are all located in lib/db. Within this file there are two YAML files containing the data for cities and states. There is also a lib/db/migrate folder with the migration files. If you don't want all the plugin infrastructure and just want to get to the data, just grab the lib/db folder.
Expand Down Expand Up @@ -57,4 +60,4 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

fn1. I haven't yet verified the completeness or accuracy of these records, this is currently a quick hack of what's immediately available on the "NWS Geodata catalog":http://www.weather.gov/geodata/catalog/national/html/cities.htm
fn1. I haven't yet verified the completeness or accuracy of these records, this is currently a quick hack of what's immediately available on the "NWS Geodata catalog":http://www.weather.gov/geodata/catalog/national/html/cities.htm

0 comments on commit 5492357

Please sign in to comment.