summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorTomer Kimia <tkimia@purdue.edu>2014-03-04 17:57:24 -0500
committerTomer Kimia <tkimia@purdue.edu>2014-03-04 17:57:24 -0500
commitc6ba6c11c7f0665064efdfc9385a5b8e1deaee50 (patch)
tree6c48690a8873b8e3f3aeb0fadd137801cb548994 /app/models
parent134360da46c1f8e5153c1c9eb5180ac990150d93 (diff)
parentd37bfd1e96f01d6f0fae275924e89dfe17a94938 (diff)
mergin' the wizard
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/models')
-rw-r--r--app/models/game.rb1
-rw-r--r--app/models/user.rb2
2 files changed, 1 insertions, 2 deletions
diff --git a/app/models/game.rb b/app/models/game.rb
index b3b6977..a181c26 100644
--- a/app/models/game.rb
+++ b/app/models/game.rb
@@ -1,3 +1,2 @@
class Game < ActiveRecord::Base
- has_many :game_attributes
end
diff --git a/app/models/user.rb b/app/models/user.rb
index 55ea60f..db65dc4 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -1,7 +1,7 @@
class User < ActiveRecord::Base
before_save { self.email = email.downcase }
- before_save { self.user_name = user_name.downcase }
+ before_save { self.user_name = user_name }
##
# Rails looks for the create_remember_token and runs the method