Browse files

add login to attr accessible in user model

  • Loading branch information...
1 parent 70633b2 commit 8ecf57137e5cceac0428b073b0dc7c90d3ccf1ac @jmatraszek committed Apr 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/user.rb
View
2 app/models/user.rb
@@ -5,7 +5,7 @@ class User < ActiveRecord::Base
has_many :products
- attr_accessible :username, :email, :password, :password_confirmation, :remember_me, :gender_id, :gender, :location
+ attr_accessible :username, :email, :password, :password_confirmation, :remember_me, :gender_id, :gender, :location, :login
attr_accessor :login
belongs_to :gender

0 comments on commit 8ecf571

Please sign in to comment.