Created
January 30, 2014 07:23
-
-
Save mazikwyry/8704071 to your computer and use it in GitHub Desktop.
Faker script
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
reload! | |
Profile.find(:all).each do |u| | |
u.update_attribute(:first_name, Faker::Name.first_name+" "+u.id.to_s) | |
u.update_attribute(:last_name, Faker::Name.last_name) | |
end |
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
gem install faker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
termial command first :D