many tiny changes

This commit is contained in:
jomo
2013-06-25 02:53:12 +02:00
parent c5dfdbeb8f
commit ceb39bf0c3
22 changed files with 209 additions and 80 deletions

View File

@@ -1,6 +1,24 @@
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
deleted_user = User.new({
name: "Deleted user",
ign: "Steve",
email: "example@example.com",
about: "Hey, apparently, I do no longer exist. This is just a placeholder profile",
password: "D6^w,:A})@/y>@$18u%D2,_@Se{%>$=,14Nc>#Oz4.[eP$X0p'1fW'%=60H{7]i'H);<r:!'Zt$-X58])#!/l;)}=$@'2W>oX(epMK5B2>/l]t(!_T3p,,]e@Uh%]Vq%[~)_~$?=[6S#8%H&JOd#/#|PRH2/q?!]%(#1;6&_*u&%-+&G-dP*j,1x+@+.6]#6{H$]=I",
password_confirmation: "D6^w,:A})@/y>@$18u%D2,_@Se{%>$=,14Nc>#Oz4.[eP$X0p'1fW'%=60H{7]i'H);<r:!'Zt$-X58])#!/l;)}=$@'2W>oX(epMK5B2>/l]t(!_T3p,,]e@Uh%]Vq%[~)_~$?=[6S#8%H&JOd#/#|PRH2/q?!]%(#1;6&_*u&%-+&G-dP*j,1x+@+.6]#6{H$]=I",
rank: 10
})
deleted_user.update_attribute("skype", "echo123")
deleted_user.update_attribute("skype_public", true)
deleted_user.update_attribute("last_ip", "0.0.0.0")
deleted_user.update_attribute("last_login", Time.utc(0).to_datetime)
deleted_user.update_attribute("last_active", Time.utc(0).to_datetime)
deleted_user.update_attribute("created_at", Time.utc(0).to_datetime)
deleted_user.update_attribute("updated_at", Time.utc(0).to_datetime)
deleted_user.save
User.create(
name: "Redstone Sheep",
ign: "noobkackboon",
@@ -9,13 +27,4 @@ User.create(
password: "123",
password_confirmation: "123",
rank: 500
)
User.create(
name: "Tarkztor",
ign: "TraksAG",
email: "tacko@gmail.com",
about: "Hi, I am another user :)",
password: "123",
password_confirmation: "123",
rank: 10
)