title: Reload the rails console
body: <p>Regarding the use of Rails console, when I make some change on a model, do I need to reload the rails console every time to make that change reflects?</p>
  
  <p>For example, I have my original code as follows:</p>
  
  <pre><code>class Article &lt; ActiveRecord::Base
    validates :title, :presence =&gt; true
    validates :body, :presence =&gt; true
  end
  </code></pre>
  
  <p>Later, I want to add some additional attribute as below.</p>
  
  <pre><code>class Article &lt; ActiveRecord::Base
    validates :title, :presence =&gt; true
    validates :body, :presence =&gt; true
  
    def long_title
      "#{title} - #{published_at}"
    end
  end
  </code></pre>
  
  <p>Does it need to run the command "reload!" every time to be able to do the "long_title" method call? Otherwise, I will get an error saying as the attribute hasn't been defined. and Why do we need to perform that manually?</p>