title: How to read params from Transloadit upon successful upload to s3
body: <p>i am using <a href="http://transloadit.com/" rel="nofollow">Transloadit</a> to process and store my pic to amazon s3. The upload works fine, however upon successful redirect back to my app i get an error when trying to access one of the vales from the hash of params sent by transloadit.</p>
  
  <pre><code>&lt;%= params[:transloadit][:ok] %&gt;
  </code></pre>
  
  <p>The error returned is </p>
  
  <pre><code>can't convert Symbol into Integer
  </code></pre>
  
  <p>and the hash of params looks like this:</p>
  
  <pre><code> {"transloadit"=&gt;"{\"ok\":\"ASSEMBLY_COMPLETED\",
  \"message\":\"The assembly was successfully completed.\",
  \"assembly_id\":\".........\",
  \"assembly_url\":\"http://api2.donnie.transloadit.com/assemblies/....\",
  \"bytes_received\":351697,
  \"bytes_expected\":351697,.........}
  </code></pre>
  
  <p>I am using the gem <a href="https://github.com/transloadit/rails-sdk" rel="nofollow">transloadit/rails-sdk</a> for easy integration into my app. On their github page they say and i quote:</p>
  
  <p>"If you want to use the automatic transload parameter decoding, you have to include the Transloadit::Rails::ParamsDecoder module into your controller</p>
  
  <pre><code>class YourController
    include Transloadit::Rails::ParamsDecoder
  end
  </code></pre>
  
  <p>that way the param[:transloadit] is automatically decoded for you, if it exists"</p>
  
  <p>I am not sure what they mean by this (even if i include this into my controller i get an error with a different set of params). <b>What is the purpose of this line?</b></p>
  
  <p><b>All i need is to access the params[:transloadit][:ok] parameter. How can i get hold of this parameter? thanks</b></p>