app/actors/hyrax/actors/base_actor.rb
def clean_attributes(attributes)
        attributes[:license] = Array(attributes[:license]) if attributes.key? :license
        attributes[:rights_statement] = Array(attributes[:rights_statement]) if attributes.key? :rights_statement
        remove_blank_attributes!(attributes).except('file_set')
      end
# Cast any singular values from the form to multiple values for persistence
# also remove any blank assertions
Cast any singular values from the form to multiple values for persistence
also remove any blank assertions
Cast any singular values from the form to multiple values for persistence also remove any blank assertions
def clean_attributes(attributes)
        attributes[:license] = Array(attributes[:license]) if attributes.key? :license
        attributes[:rights_statement] = Array(attributes[:rights_statement]) if attributes.key? :rights_statement
        remove_blank_attributes!(attributes).except('file_set')
      end
def clean_attributes ( attributes ) attributes [ :license ] = Array ( attributes [ :license ] ) if attributes . key? :license attributes [ :rights_statement ] = Array ( attributes [ :rights_statement ] ) if attributes . key? :rights_statement remove_blank_attributes! ( attributes ) . except ( 'file_set' ) end
Cast any singular values from the form to multiple values for persistence
also remove any blank assertions
Cast any singular values from the form to multiple values for persistence also remove any blank assertions
attributes