Let's reverse this.  
````
if coder.is_a?(Array)
  coder.map { |obj| record_from_coder(obj) }
else
  record_from_coder(coder)
end
````