Skip to content

Commit

Permalink
Seed data updates
Browse files Browse the repository at this point in the history
Move locs2.yml to sample-locs.yml
Annotate sample-locs.yml
Trim down seed locations
Update docs
Put sample-locs.yml in gitignore
  • Loading branch information
therufs committed Mar 10, 2015
1 parent c4e31f1 commit 53f4a0f
Show file tree
Hide file tree
Showing 5 changed files with 203 additions and 2,173 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@

# Ignore .DS_Store files
*.DS_Store

# Allow individual contributors to customize their own seed data
/db/seeds/seed-locs.yml
2 changes: 1 addition & 1 deletion db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
adminfirst.roles << admin
adminfirst.roles << leader

chapter_seed = Rails.root.join('db', 'seeds', 'locs2.yml')
chapter_seed = Rails.root.join('db', 'seeds', 'sample-locs.yml')

#board_seed = Rails.root.join('db', 'seeds', 'board.yml')
locs = YAML::load_file(chapter_seed)
Expand Down
Loading

0 comments on commit 53f4a0f

Please sign in to comment.