title: Adding name attribute to `User` in Devise
body: <p>I'm trying to add a name attribute to the User model provided by Devise.  I added a "name" column to my database, and changed the sign up view so that it asks for the user's name: </p>
  
  <pre><code>&lt;h2&gt;Sign up&lt;/h2&gt;
  
  &lt;%= form_for(resource, :as =&gt; resource_name, :url =&gt; registration_path(resource_name)) do |f| %&gt;
    &lt;%= devise_error_messages! %&gt;
  
    &lt;p&gt;&lt;%= f.label :name %&gt;&lt;br /&gt;
    &lt;%= f.text_field :name %&gt;&lt;/p&gt;
  
    &lt;p&gt;&lt;%= f.label :email %&gt;&lt;br /&gt;
    &lt;%= f.email_field :email %&gt;&lt;/p&gt;
  
    &lt;p&gt;&lt;%= f.label :password %&gt;&lt;br /&gt;
    &lt;%= f.password_field :password %&gt;&lt;/p&gt;
  
    &lt;p&gt;&lt;%= f.label :password_confirmation %&gt;&lt;br /&gt;
    &lt;%= f.password_field :password_confirmation %&gt;&lt;/p&gt;
  
    &lt;p&gt;&lt;%= f.submit "Sign up" %&gt;&lt;/p&gt;
  &lt;% end %&gt;
  
  &lt;%= render :partial =&gt; "devise/shared/links" %&gt;
  </code></pre>
  
  <p>It lets me log in, but when I check the database after doing so, <code>name: nil</code>.  Do I have to add something to Devise's <code>User</code> controller or something?  Thanks!</p>