Created
March 6, 2014 22:59
-
-
Save kronosapiens/9401590 to your computer and use it in GitHub Desktop.
Seeds for NYC App
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bqe = Landmark.create(name: 'BQE', year_completed: 1961) | |
sol = Landmark.create(name: 'Statue of Liberty', year_completed: 1886) | |
esb = Landmark.create(name: 'Empire State Building', year_completed: 1929) | |
mos = Figure.create(name: 'Bobby Moses') | |
fdr = Figure.create(name: 'FDR') | |
pc = Title.create(name: 'Parks Commissioner') | |
president = Title.create(name: 'President') | |
hero = Title.create(name: 'Hero') | |
sol.figure = fdr | |
esb.figure = mos | |
bqe.figure = mos | |
mos.titles << pc | |
mos.titles << hero | |
fdr.titles << president | |
fdr.titles << hero |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment