mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Name validation repeated in Track
The validation to check that the name is present in track.rb is twice.
This commit is contained in:
parent
8b831b1977
commit
9d4a82b062
1 changed files with 0 additions and 2 deletions
|
|
@ -5,8 +5,6 @@ class Track < ActiveRecord::Base
|
|||
before_create :generate_guid
|
||||
validates :name, presence: true
|
||||
|
||||
validates :name, presence: true
|
||||
|
||||
private
|
||||
|
||||
def generate_guid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue