Initial commit with Postgres DB setup

This commit is contained in:
Yedhu Krishnan
2015-10-16 17:34:54 +05:30
commit c3c42c4e49
51 changed files with 976 additions and 0 deletions

7
db/seeds.rb Normal file
View File

@@ -0,0 +1,7 @@
# 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)