a TON of bugfixes and new features

This commit is contained in:
jomo
2014-04-28 03:01:33 +02:00
parent a6ba503e73
commit 65f5adf65d
59 changed files with 1023 additions and 970 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ class CreateUsers < ActiveRecord::Migration
t.boolean :confirmed, default: false
t.datetime :last_seen
t.references :role, null: false
t.references :role, null: false, default: Role.get(:normal)
t.timestamps
end
+3 -3
View File
@@ -109,9 +109,9 @@ ActiveRecord::Schema.define(version: 11) do
t.string "email_token"
t.boolean "confirmed", default: false
t.datetime "last_seen"
t.integer "role_id", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.integer "role_id", default: 3, null: false
t.datetime "created_at"
t.datetime "updated_at"
end
end
+1 -1
View File
@@ -18,7 +18,7 @@ deleted_user = User.create!(
uuid: "8667ba71b85a4004af54457a9734eed7",
name: "Deleted user",
email: "redstonerserver@gmail.com",
ign: "Steve",
ign: "Notch", # just need any valid ign here, overriding later
about: "Hey, apparently, I do no longer exist. This is just a placeholder profile",
password: userpw,
password_confirmation: userpw,