title: Hash Destructuring
body: <p>You can destructure an array by using the splat operator.</p>
  <pre><code>def foo(arg1, arg2, arg3)
    #...Do Stuff...
  end
  array = ['arg2', 'arg3']
  foo('arg1', *array)
  </code></pre>
  <p>But is there a way to destruct a hash for option type goodness?</p>
  <pre><code>def foo(arg1, opts)
    #...Do Stuff with an opts hash...
  end
  opts = {hash2: 'bar', hash3: 'baz'}
  foo('arg1', hash1: 'foo', *opts)
  </code></pre>
  <p>If not native ruby, has Rails added something like this?</p>
  <p>Currently I'm doing roughly this with</p>
  <pre><code>foo('arg1', opts.merge(hash1: 'foo'))
  </code></pre>