Rails 3: undefined method `page' for #<Array:0xafd0660>

Viewed 16433

I can't get past this. I know I've read there isn't a page method for arrays but what do I do?

If I run Class.all in the console, it returns #, but if I run Class.all.page(1), I get the above error.

Any ideas?

5 Answers
Related