* expand part size
This commit is contained in:
parent
40f3b7d83e
commit
d36999032f
|
|
@ -24,7 +24,7 @@ module JamRuby
|
|||
before_destroy :delete_s3_files
|
||||
|
||||
validates :position, presence: true, numericality: {only_integer: true}, length: {in: 1..1000}
|
||||
validates :part, length: {maximum: 25}
|
||||
validates :part, length: {maximum: 35}
|
||||
validates :track_type, inclusion: {in: TRACK_TYPE }
|
||||
validates :preview_start_time, numericality: {only_integer: true}, length: {in: 1..1000}, :allow_nil => true
|
||||
validates_uniqueness_of :part, scope: [:jam_track_id, :instrument_id]
|
||||
|
|
|
|||
Loading…
Reference in New Issue