I am embedding an ActiveScaffold into another (non-AS) controller
action.

So when I call render :active_scaffold => "controller_name" ... and
such, I want to be able to set at limit for the number of items that
show up.

- Enrico


On Jul 29, 12:16 pm, Kenny Ortmann <[email protected]> wrote:
> What exactly are you trying to do?
>
> If you go to an active scaffold controller and in the browser go to the url
> and put ?limit=1 at the end does it not limit the list view to 1 item?
>
>
>
> On Mon, Jul 27, 2009 at 10:34 AM, Enrico Bianco <[email protected]> wrote:
>
> > Hi all,
>
> > Is there a way to limit the number of rows that appears in an embedded
> > scaffold?
>
> > I want to show only the most recent couple of items in a list to the
> > user but passing :limit to the render :active_scaffold call doesn't
> > seem to work. So doesn't :per_page.
>
> > Thanks,
> > Enrico
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to