On Sep 26, 2008, at 11:11 PM, Gabriel Lamounier wrote:
Hi there,
I just want to check something out.
Does the offset param of the children:each tag only works associated
to the limit one?
Supose I've got 6 children pages, if I write:
<r:children:each offset="3">...</r:childen:each>
it behaves like a pure
<r:children:each>...</r:childen:each>
showing all 6 pages.
But if I write:
<r:children:each limit="6" offset="3">...</r:childen:each>
it works correctly, showing only the last three.
Is it correct?
Page.find(:all, :offset => 3) returns all pages.
This is essentially what the children:each does (scoped to a
particular page)
If this is incorrect behavior, it's with ActiveRecord::Base
_______________________________________________
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant