Created
January 16, 2009 12:51
-
-
Save javier/47918 to your computer and use it in GitHub Desktop.
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
namespace :initialize do | |
desc "initialize users" | |
task :users => :environment do | |
u=User.find_or_initialize_by_email "[email protected]" | |
u.password='blabla' | |
u.save | |
end #task do | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment