Use new "strong parameters" from rails4
This commit is contained in:
@@ -4,7 +4,6 @@ class User < ActiveRecord::Base
|
||||
include BCrypt
|
||||
|
||||
attr_reader :password
|
||||
attr_accessible :email, :password, :password_confirmation
|
||||
|
||||
has_many :playlists
|
||||
|
||||
|
Reference in New Issue
Block a user