lib/rom/plugins/command/schema.rb in rom-3.0.0.beta2 vs lib/rom/plugins/command/schema.rb in rom-3.0.0.beta3
- old
+ new
@@ -18,12 +18,12 @@
else
default_input = options.fetch(:input, input)
input_handler =
if default_input != Hash && relation.schema?
- -> tuple { relation.schema_hash[input[tuple]] }
+ -> tuple { relation.input_schema[input[tuple]] }
elsif relation.schema?
- relation.schema_hash
+ relation.input_schema
else
default_input
end
super(relation, options.merge(input: input_handler))