lib/rom/http/commands/create.rb in rom-http-0.5.0 vs lib/rom/http/commands/create.rb in rom-http-0.6.0.rc1
- old
+ new
@@ -11,10 +11,9 @@
#
# @api public
def execute(tuples)
Array([tuples]).flatten.map do |tuple|
attributes = input[tuple]
- validator.call(attributes)
relation.insert(attributes.to_h)
end.to_a
end
end
end