Louis | Add dummy data generator

This commit is contained in:
Loos
2014-09-17 22:18:14 -04:00
parent c95a625c5e
commit e010f7081b
4 changed files with 76 additions and 8 deletions
+1
View File
@@ -22,6 +22,7 @@ ActiveRecord::Schema.define(version: 20140917020156) do
t.string "model"
t.string "bike_type"
t.string "color"
t.string "frame_size"
t.string "serial_number"
t.text "notes"
t.text "tag_info"
-7
View File
@@ -1,7 +0,0 @@
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
# Mayor.create(name: 'Emanuel', city: cities.first)