title: Undefined method 'about' for nill class
body: <p>I have two table: <code>User</code> has one <code>Account</code>, <code>Account</code> belongs_to <code>User</code>. When I want to get some value from field '<code>about</code>' (table <code>Accounts</code>), I have a problem '<code>undefined method</code> <code>about</code>' for <code>nil:NilClass</code>'. The challenge is to get the list of followers and gain their avatar or information 'about' from another table and output it in View.</p>
  
  <p>My method in controller</p>
  
  <pre><code> def list_of_follower
     @followers_id = Follow.select("follower_id ").where("followable_id = ?", current_user)
     @followers = User.where("id in (?)", @followers_id)
     @followables_id = Follow.select("followable_id").where("follower_id = ?", current_user)
     @followables = User.where("id in (?)", @followables_id)
  end
  </code></pre>
  
  <p>View list_of_follower.html.haml</p>
  
  <pre><code>%h1 My followers
   - @followers.each do |f|
    %ul.list-group
      %li.list-group-item
        %p=f.name
        %p=f.account.about
  %h1 I'm follower
  - @followables.each do |followable|
    %ul.list-group
  %li.list-group-item
    %p=followable.name
    %p=followable.account.about
  </code></pre>
  
  <p>Create_Accounts.rb</p>
  
  <pre><code>class CreateAccounts &lt; ActiveRecord::Migration
    def change
      create_table :accounts do |t|
        t.belongs_to :user, index: true
        t.text :about
        t.timestamps null: false
      end
   end
  end
  </code></pre>
  
  <p>User.rb</p>
  
  <pre><code>class User &lt; ActiveRecord::Base
   acts_as_followable
   acts_as_follower
   acts_as_liker
   has_one :account
   has_many :posts
   has_many :comments
  
  accepts_nested_attributes_for :account
  devise :database_authenticatable, :registerable,
       :recoverable, :rememberable, :trackable, :validatable
  
  def email_required?
    false
  end
  
  def email_changed?
    false
  end
  
   validates :login, :email, uniqueness: true
  end
  </code></pre>
  
  <p>Account.rb</p>
  
  <pre><code>class Account &lt; ActiveRecord::Base
   belongs_to :user
    mount_uploader :avatar, AvatarUploader
   end
  </code></pre>
  
  <p>table <code>User</code> content is displayed without problems (work requests), but the contents of the table associated with it does not displayed, what is the problem?</p>