title: JSON Decode Parameter Issue
body: <p>I have a rails 4 application that uses <code>postgresql</code>. I also have a <code>backbone.js</code> application that pushes <strong>JSON</strong> to the rails 4 app.</p>
  
  <p>Here's my controller:</p>
  
  <pre><code>def create
   @product = Product.new(ActiveSupport::JSON.decode product_params)
  
   respond_to do |format|
    if @product.save
      format.json { render action: 'show', status: :created, location: @product }
    else
      format.json { render json: @product.errors, status: :unprocessable_entity }
    end
   end
  end
  def product_params
    params.require(:product).permit(:title, :data)
  end
  </code></pre>
  
  <p>I'm trying to parse the <strong>JSON</strong> and insert the product, but on insert, I'm getting the error:</p>
  
  <p><code>TypeError (no implicit conversion of ActionController::Parameters into String):</code></p>
  
  <p>Thanks for all help!</p>