title: Rails 3 add virtual attribute dynamically
body: <p>My setup: Rails 3.0.9, Ruby 1.9.2</p>
  
  <p>I have my reasons for doing this but what I need is a way to add a virtual attribute to an activerecord resultset dynamically. That means I am not using <code>attr_accessor</code> in the model and instead wish to dynamically add virtual attributes to a resultset.</p>
  
  <p>For example,</p>
  
  <pre><code>users = User.all
  #a user has following attributes: name, email, password
  </code></pre>
  
  <p>What I like to do is say add (without using <code>attr_accessor</code>) a virtual attribute <code>status</code> to <code>users</code>, is that possible?</p>