Skip to content

Instantly share code, notes, and snippets.

@axsuul
Forked from cuciferus/libtasksdb.rake
Created September 24, 2012 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save axsuul/3778031 to your computer and use it in GitHub Desktop.
Save axsuul/3778031 to your computer and use it in GitHub Desktop.
namespace :db do
namespace :seed do
desc "Adaug medici in baza de date"
task :medici => :environment do
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