class AWS::Record::Model::Scope

def new attributes = {}

def new attributes = {}
  attributes = attributes.dup
  @options[:where].each do |conditions|
    if conditions.size == 1 and conditions.first.is_a?(Hash)
      attributes.merge!(conditions.first)
    end
  end
  super(attributes)
end