lib/marty/data_exporter.rb in marty-1.0.39 vs lib/marty/data_exporter.rb in marty-1.0.41
- old
+ new
@@ -127,10 +127,9 @@
next c unless type.is_a?(Hash)
# remove _id
c = c[0..-4]
-
assoc_keys = type[:assoc_keys]
# if association has a single key, just use col name
next c if assoc_keys.length == 1