title: pulling information from specific fields in Rails 4 Form
body: <p>I am creating a Blog Post Versioning System. (I tried Paper_trail and Draftsman and they don't have what I need).  When a user Edits a "live" Page, instead of changing the live version, my app makes a PostVersion table entry with the new information and calls it "pending". HOWEVER, if the user  Edits a "draft" page, NO "pending" PostVersion is created, it just edits the page directly.  <br><br></p>
  
  <p>I can't seem to get the form params to pass from the form to the PostVersion.create! method. It just submits nil values when I'm trying to pull from the form values. <br><br></p>
  
  <p>posts_controller.rb</p>
  
  <pre><code>def update
    @post = Post.find(params[:id])
    if @post.status == 'draft'
     #this not important
    end
    if @post.status == 'live'
      @pending_post =  PostVersion.create!(title: params[:title], status:  'pending',  body: params[:body],  post_id:  @post.id )
    end
  end
  </code></pre>
  
  <p>_form.html.slim</p>
  
  <pre><code>= simple_form_for [:admin, @post ], multipart: true do |f| 
    = f.error_notification 
    = f.input :title, label: 'Title', required: true, focus: true
    #rest of the form redacted
  </code></pre>