Removed not needed valid check.
This commit is contained in:
parent
8359cf4665
commit
e9fec1aa4f
1 changed files with 0 additions and 1 deletions
|
@ -77,7 +77,6 @@ class Store < ActiveRecord::Base
|
|||
|
||||
class File < ActiveRecord::Base
|
||||
before_validation :add_md5
|
||||
validates :name, :presence => true
|
||||
|
||||
private
|
||||
def add_md5
|
||||
|
|
Loading…
Reference in a new issue