remove attr_accessible from User model
This commit is contained in:
parent
a154ed0356
commit
a30090ff86
1 changed files with 0 additions and 2 deletions
|
@ -3,8 +3,6 @@ class User < ActiveRecord::Base
|
||||||
has_many :user_accesses, :dependent => :destroy
|
has_many :user_accesses, :dependent => :destroy
|
||||||
has_many :suppliers, :through => :user_accesses
|
has_many :suppliers, :through => :user_accesses
|
||||||
|
|
||||||
attr_accessible :email, :password, :password_confirmation
|
|
||||||
|
|
||||||
attr_accessor :password
|
attr_accessor :password
|
||||||
before_save :encrypt_password
|
before_save :encrypt_password
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue