Method: Elmas::Resource::Sanitizer#sanitize_has_many

Defined in:
lib/elmas/sanitizer.rb

#sanitize_has_many(value) ⇒ Object



45
46
47
48
49
50
51
# File 'lib/elmas/sanitizer.rb', line 45

def sanitize_has_many(value)
  submit_value = []
  value.each do |e|
    submit_value << e.sanitize
  end
  submit_value
end