title: Rails : Return an object to show user's profile completeness
body: <p>I have a User Model and would like to return to the controller and view what parts of the user's profile are complete and what parts are not.</p>
  
  <p>So it would return for example an object "profile_completeness" which can be used like so : </p>
  
  <pre><code>@user.profile_completeness.personal_info
  </code></pre>
  
  <p>Which would be true if the particular part of the profile was filled.</p>
  
  <p>What I tried : </p>
  
  <pre><code>def profile_completeness
      if self.name.present?  &amp;&amp; self.email.present?
          profile_completeness.personal_info = true
      end
      return profile_completeness
  end
  </code></pre>
  
  <p>I got the error : </p>
  
  <pre><code> SystemStackError: stack level too deep
  </code></pre>
  
  <p>Am I going about this the right way? If not, what do you think is the best </p>