Make Sound#file attr_accessible
This commit is contained in:
parent
3253ddea9b
commit
bd39be32c5
@ -3,6 +3,8 @@ require 'fileutils'
|
|||||||
class Sound < ActiveRecord::Base
|
class Sound < ActiveRecord::Base
|
||||||
belongs_to :track
|
belongs_to :track
|
||||||
|
|
||||||
|
attr_accessible :file
|
||||||
|
|
||||||
validates_presence_of :sha256
|
validates_presence_of :sha256
|
||||||
validates_presence_of :mime_type
|
validates_presence_of :mime_type
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user