Skip to content

Commit

Permalink
create sample data via seed file in dummy app
Browse files Browse the repository at this point in the history
  • Loading branch information
spaghetticode committed Apr 1, 2013
1 parent 6dbcf9f commit 313a6bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/dummy/db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
#
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
# Mayor.create(name: 'Emanuel', city: cities.first)

Friend.create! :name => 'Andrea Longhi'

0 comments on commit 313a6bd

Please sign in to comment.