title: Rails 4 and Devise: Devise not saving new information (First Name, Last Name, Profile Name)
body: <p>I am using Rails 4 and Devise. 
  I am trying to display a user's first name in a status posted on my App. 
  I have done everything I can think of correctly (migrated database after adding user model) and the database is still not saving the three new fields listed in my title, Devise saves the things it came with (email + password) but not the new fields.</p>
  
  <p>Here is my user.rb:</p>
  
  <pre><code>class User &lt; ActiveRecord::Base
    # Include default devise modules. Others available are:
    # :confirmable, :lockable, :timeoutable and :omniauthable
    devise :database_authenticatable, :registerable,
           :recoverable, :rememberable, :trackable, :validatable
  
    # Setup accessible attributes for your model     
  
    attr_accessible :role_ids, :as =&gt; :admin
    attr_accessible :email, :password, :password_confirmation, :remember_me, 
                    :first_name, :last_name, :profile_name
  
  
  
  end
  </code></pre>
  
  <p>My db migration:</p>
  
  <pre><code>class DeviseCreateUsers &lt; ActiveRecord::Migration
    def change
      create_table(:users) do |t|
  
        t.string: :first_name;
        t.string: :last_name;
        t.string: :profile_name;
  
        ## Database authenticatable
        t.string :email,              null: false, default: ""
        t.string :encrypted_password, null: false, default: ""
  
        ## Recoverable
        t.string   :reset_password_token
        t.datetime :reset_password_sent_at
  
        ## Rememberable
        t.datetime :remember_created_at
  
        ## Trackable
        t.integer  :sign_in_count, default: 0, null: false
        t.datetime :current_sign_in_at
        t.datetime :last_sign_in_at
        t.string   :current_sign_in_ip
        t.string   :last_sign_in_ip
  
        ## Confirmable
        # t.string   :confirmation_token
        # t.datetime :confirmed_at
        # t.datetime :confirmation_sent_at
        # t.string   :unconfirmed_email # Only if using reconfirmable
  
        ## Lockable
        # t.integer  :failed_attempts, default: 0, null: false # Only if lock strategy is :failed_attempts
        # t.string   :unlock_token # Only if unlock strategy is :email or :both
        # t.datetime :locked_at
  
  
        t.timestamps
      end
  
      add_index :users, :email,                unique: true
      add_index :users, :reset_password_token, unique: true
      # add_index :users, :confirmation_token,   unique: true
      # add_index :users, :unlock_token,         unique: true
    end
  end
  </code></pre>
  
  <p>Having done some research, I don't think attr_accessible is compatible with Rails 4 and Devise, is this correct?
  If so, how do I pass this new information into my Devise db?
  Does anyone know a good guide to do this?</p>
  
  <p>Let me know if there is any more information that needs to be provided!</p>
  
  <p>Thanks in advance</p>