remove attr_accessible from User model

new_user
JuliusR 8 months ago
parent a154ed0356
commit a30090ff86
  1. 2
      app/models/user.rb

@ -3,8 +3,6 @@ class User < ActiveRecord::Base
has_many :user_accesses, :dependent => :destroy
has_many :suppliers, :through => :user_accesses
attr_accessible :email, :password, :password_confirmation
attr_accessor :password
before_save :encrypt_password

Loading…
Cancel
Save