Use new "strong parameters" from rails4
This commit is contained in:
@@ -3,8 +3,6 @@ require 'fileutils'
|
||||
class Sound < ActiveRecord::Base
|
||||
belongs_to :track
|
||||
|
||||
attr_accessible :file
|
||||
|
||||
validates_presence_of :sha256
|
||||
validates_presence_of :mime_type
|
||||
|
||||
|
Reference in New Issue
Block a user