title: Figure out compulsory field to create object rails console
body: <p>I am wondering if there is a command which will tell you which fields you need to fill in, in order to create an object></p>
  
  <p>Example:</p>
  
  <p>I have a <code>User(name, password, email, zip code)</code> table,
  With the following validations:</p>
  
  <p><code>validates :name, :password, :email, presence: true</code></p>
  
  <p>In order to use : <code>User.create</code>, I have to give it a name, password and email to succeed.</p>
  
  <p>Since I have some tables with more than 20 fields and I don't want to check the validations every time I create an object, is there a command(to use on rails console), which lists all the fields that need to be present?</p>