class AWS::Record::Model::Scope
def _handle_options options
def _handle_options options scope = self options.each_pair do |method, args| if method == :where and args.is_a?(Hash) # splatting a hash turns it into an array, bad juju scope = scope.send(method, args) else scope = scope.send(method, *args) end end scope end