Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixing users

  • Loading branch information...
commit 0a862ab08e6c20c17fb0e64bb689f3e7c63f2312 1 parent 1a837b1
@cactusapp cactusapp authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  app/models/user.rb
View
3  app/models/user.rb
@@ -7,7 +7,8 @@ class User < ActiveRecord::Base
:recoverable, :rememberable, :trackable, :validatable
# Setup accessible (or protected) attributes for your model
- attr_accessible :email, :password, :password_confirmation, :remember_me
+ attr_accessible :email, :password, :password_confirmation, :remember_me,
+ :warehouse_id, :first_name, :last_name, :username, :dob, :position, :sex
validates :username, length: {:within => 3..40}
validates :username, :first_name, :last_name, :email, :warehouse_id, presence: true
Please sign in to comment.
Something went wrong with that request. Please try again.