Use new "strong parameters" from rails4
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
class Playlist < ActiveRecord::Base
|
||||
belongs_to :user
|
||||
|
||||
attr_accessible :name
|
||||
|
||||
validates_presence_of :user
|
||||
validates_presence_of :name
|
||||
end
|
||||
|
Reference in New Issue
Block a user