ffmike-db_populate 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/README +2 -1
  2. metadata +2 -2
data/README CHANGED
@@ -35,7 +35,7 @@ db/populate/production/01_users.rb
35
35
  db/populate/production/02_options.rb
36
36
 
37
37
  Within each file, you can place whatever ruby code you like. To help create consistent
38
- records, db_populate adds create_or_populate to ActiveRecord::Base. This method looks up
38
+ records, db_populate adds create_or_update to ActiveRecord::Base. This method looks up
39
39
  a record by ID; if the record exists, it is updated, and if it doesn't, it is created. Using
40
40
  this technique means that you can edit and re-run your db_populate tasks without damaging
41
41
  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
58
58
 
59
59
  History
60
60
  =======
61
+ 2009-05-17 Fix typo in README
61
62
  2009-03-21 Patch from Ahmed El-Daly to allow PKs with names other than id
62
63
  2008-10-11 Initial release
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffmike-db_populate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Gunderloy
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2009-03-21 00:00:00 -07:00
14
+ date: 2009-05-17 00:00:00 -07:00
15
15
  default_executable:
16
16
  dependencies: []
17
17