diff options
author | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-04 17:55:58 -0500 |
---|---|---|
committer | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-04 17:55:58 -0500 |
commit | d37bfd1e96f01d6f0fae275924e89dfe17a94938 (patch) | |
tree | 2b91210dd196a1e1d6fab67e561cba12dc43d8eb /app/models | |
parent | bc42a479891d491aecd5477cfeedd986e9738438 (diff) | |
parent | 19b135ec55e040c78009400f389d19ae58cc628c (diff) |
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/game.rb | 1 | ||||
-rw-r--r-- | app/models/user.rb | 2 |
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 |