lib/heliodor/query_internal.rb in heliodor-0.2.1 vs lib/heliodor/query_internal.rb in heliodor-0.2.2
- old
+ new
@@ -65,10 +65,11 @@
else
i
end
end
end
+ @dat.delete(nil)
@dat
end
def _write
@full[@table] = @dat
@@ -95,10 +96,10 @@
when 'insert'
_insert(action['data'])
when 'rename'
_rename(action['to'])
when 'delete'
- _delete(actopm['dat'])
+ _delete(action['dat'])
when 'write'
_write
else
raise NotImplementedError,
"Action `#{action['type']}` is not yet implemented!"