[Ref #288] Remove the seeds.rb file which required an uncommitted file
This caused an error while setting up the app
This commit is contained in:
parent
348d6210a8
commit
f9e0812f92
4 changed files with 12 additions and 17 deletions
|
@ -5,12 +5,3 @@
|
|||
#
|
||||
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
|
||||
# Mayor.create(name: 'Emanuel', city: cities.first)
|
||||
|
||||
Dir[File.join(Rails.root, 'db', 'seeds', '*.rb')].sort.each { |seed| load seed }
|
||||
|
||||
# puts "create links"
|
||||
# TypePieceJointe.find_each do |type_piece_jointe|
|
||||
# forms = Formulaire.find_by_demarche_id(type_piece_jointe.CERFA)
|
||||
# type_piece_jointe.update_attributes(formulaire_id: forms.id) unless forms.nil?
|
||||
# end
|
||||
# puts "end links creation"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue