* expand part size

This commit is contained in:
Seth Call 2015-08-13 11:09:54 -05:00
parent 40f3b7d83e
commit d36999032f
1 changed files with 1 additions and 1 deletions

View File

@ -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]