title: Access Ruby hash variables
body: <p>I am pretty new to ruby and sinatra but basically I have this route:</p>
  
  <pre><code>put '/user_list/:user_id' do
      puts request.params["model"]
  end
  </code></pre>
  
  <p>and it returns the following</p>
  
  <pre><code>{"password":"36494092d7d5682666ac04f62d624141","username":"nicholas","user_id":106,"firstname":"Nicholas","email":"nicholas@macpractice.com","is_admin":0,"lastname":"Rose","privileges":""}
  </code></pre>
  
  <p>I am now having a hard time accessing values of each of those. It doesn't really seem to be in hash format so I can't really do </p>
  
  <pre><code>request.params["model"][:password]
  </code></pre>
  
  <p>It just returns nil..</p>
  
  <p>I just need to know what I can do to access those variables, or how to configure my request parameters to be in a good format to access variables.</p>