summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2013-06-25 02:53:12 +0200
committerjomo <github@jomo.tv>2013-06-25 02:53:12 +0200
commitceb39bf0c3c0f8c77a637b46b2e1a43b66e6bee0 (patch)
treea988ef168fb3fe358e6eedfc9d10e6bef7e27ee8 /db
parentc5dfdbeb8f00512ad3810975547c56e7c6dcb480 (diff)
many tiny changes
Diffstat (limited to 'db')
-rw-r--r--db/seeds.rb27
1 files changed, 18 insertions, 9 deletions
diff --git a/db/seeds.rb b/db/seeds.rb
index 96d6245..d61c4a8 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -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
) \ No newline at end of file