Use new "strong parameters" from rails4

This commit is contained in:
Thibault Jouan
2014-04-03 02:20:37 +00:00
parent 1b5055d0a6
commit 4c6adc6927
13 changed files with 41 additions and 23 deletions

View File

@@ -4,7 +4,6 @@ class User < ActiveRecord::Base
include BCrypt
attr_reader :password
attr_accessible :email, :password, :password_confirmation
has_many :playlists