From e2ccda0ecbf73ccb6c61fdd1f15e9eba7a5190e6 Mon Sep 17 00:00:00 2001 From: Mike Gunderloy Date: Sun, 17 May 2009 06:29:02 -0500 Subject: [PATCH] Fix typo in README --- README | 3 ++- db_populate.gemspec | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README b/README index 3457f6f..d341194 100644 --- a/README +++ b/README @@ -35,7 +35,7 @@ db/populate/production/01_users.rb db/populate/production/02_options.rb Within each file, you can place whatever ruby code you like. To help create consistent -records, db_populate adds create_or_populate to ActiveRecord::Base. This method looks up +records, db_populate adds create_or_update to ActiveRecord::Base. This method looks up a record by ID; if the record exists, it is updated, and if it doesn't, it is created. Using this technique means that you can edit and re-run your db_populate tasks without damaging data that have already been loaded once. For example, assuming your roles table has already @@ -58,5 +58,6 @@ rake db:migrate_and_populate is the same as calling rake db:migrate followed by History ======= +2009-05-17 Fix typo in README 2009-03-21 Patch from Ahmed El-Daly to allow PKs with names other than id 2008-10-11 Initial release \ No newline at end of file diff --git a/db_populate.gemspec b/db_populate.gemspec index 7d200bc..b9d9796 100644 --- a/db_populate.gemspec +++ b/db_populate.gemspec @@ -1,7 +1,7 @@ Gem::Specification.new do |s| s.name = "db_populate" - s.version = "0.2.2" - s.date = "2009-03-21" + s.version = "0.2.3" + s.date = "2009-05-17" s.summary = "Seed data populator for Rails" s.email = "MikeG1@larkfarm.com" s.homepage = "http://github.com/ffmike/db-populate/tree/master"