module Octopus::ResultPatch

Attributes

current_shard[RW]

Private Instance Methods

hash_rows() click to toggle source
Calls superclass method
# File lib/octopus/result_patch.rb, line 6
def hash_rows
  if current_shard.blank?
    super
  else
    foo = super
    foo.each { |f| f.merge!('current_shard' => current_shard) }
    foo
  end
end