title: SpreeCommerce - cannot create new user in rails controller
body: <p>I am building an ecommerce solution using spree to handle products/orders etc.
  I am having a little trouble figuring how to create spree entries through my signup controller. The user fills a form out and then it is supposed to:</p>
  
  <p>1) create a new user object with addresses</p>
  
  <p>2) create a new order for that user + add a subscription product to that order</p>
  
  <p>3) Create a stripe customer and add a stripe plan</p>
  
  <p>4) Redirect to a confirmation page.</p>
  
  <p>I can't seem to find much in the way of documentation for integrating with spree from a custom rails setup (only overriding their templates).</p>
  
  <p>The issue I am having is that I am not seeing the new user object being created. I pulled this code from the backend and modified it to create a new user when the signup form is submitted:</p>
  
  <pre><code>user_params = {"email" =&gt; emailAddress,"password"=&gt; password}
  
  spreeUser = Spree.user_class.new(user_params)
  
  spreeUser.save
  </code></pre>
  
  <p>This isn't adding any new user to the DB. I have also tried through the api endpoint POST api/users but still no luck.</p>
  
  <p>Is it possible to use spree in this way and if so what am I doing wrong!</p>