title: Ruby on Rails: How to validate form that is split into tabs?
body: <p>I'm improving RoR application. In this app there is a page where user can crete or edit items. This page contains form. In that form there are 11 tabs (implemented with javascript, we use bootsrap's tabbable here). Form controls are divided between 11 tabs.</p>
  
  <p>There is a problem: After user submits form with wrong data in 2nd or 3rd tab, the same form is shown, and first tab is activated.</p>
  
  <p>I need to solve this problem. I want not to use client side validation. All validation should be done in rails. Also I don't want to use AJAX.</p>
  
  <p>So if user submits form that have wrong data in 5th tab, then 5th tab must be shown after submit, and form error messages should be placed into 5th tab. How can I do that?</p>