title: why activerecord keeps sending the whole table?
body: <p>This is my statement to retrieve data</p>
  
  <pre><code>@week_activities = Activity.where(:weeknum =&gt; 1)  
  </code></pre>
  
  <p>This is how I am displaying it</p>
  
  <pre><code>&lt;%= @week_activities.each do |d| %&gt;
  &lt;%= d.id %&gt;, &lt;%= d.week %&gt;, &lt;%= d.day %&gt; &lt;br/&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>It's displaying what I want they way I want it</p>
  
  <pre><code>1, 1, Monday 
  2, 1, Tuesday 
  3, 1, Wednesday 
  4, 1, Thurday 
  5, 1, Friday 
  6, 1, Saturday 
  7, 1, Sunday 
  </code></pre>
  
  <p>Then for a reason I ignore, it displays the whole table as a array</p>
  
  <pre><code>[#&lt;Activity id: 1, jog: 0, pushups: 0, situps: 0, bicycl: 0, squats: 0, 
   lunges: 0, foodid: 0, ccalor: 0, bcalor: 0, user_id: nil, 
   created_at: "2012-11-23 03:12:54", updated_at: "2012-11-23 03:12:54", week: 1, 
   day: "Monday"&gt; ... and so on.
  </code></pre>
  
  <p>Is there any reason, it displaying the content of the whole table?</p>