Use new "strong parameters" from rails4
This commit is contained in:
@@ -8,5 +8,4 @@ describe Playlist do
|
||||
it { should belong_to :user }
|
||||
it { should validate_presence_of :user }
|
||||
it { should validate_presence_of :name }
|
||||
it { should_not allow_mass_assignment_of :user }
|
||||
end
|
||||
|
Reference in New Issue
Block a user