Skip to content

Instantly share code, notes, and snippets.

@cuciferus
Created September 24, 2012 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cuciferus/3778028 to your computer and use it in GitHub Desktop.
Save cuciferus/3778028 to your computer and use it in GitHub Desktop.
namespace :db do
task :seed => :environiment do
task :medici do
desc "Adaug medici in baza de date"
Medic.create!(:nume => "Serafinceanu", :prenume => "Cristian", :cod_parafa => "282828")
Medic.create!(:nume => "Craciun", :prenume =>"Anne-Marie", :cod_parafa =>"999")
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment