hmm.. what happens if you use category.articles.limit(3).all.count

On Mon, Feb 14, 2011 at 4:37 PM, Rob Nichols <[email protected]> wrote:

> I think I've found a workaround.
>
> category.articles.limit(3).count
>
> => 8
>
> category.articles.find(:all, :limit => "3").count
>
> => 3
>
> If I use the old Rails 2 methods, the system works correctly.
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>


-- 
-------------------------------------------------------------
visit my blog at http://jimlabs.heroku.com

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to