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 -~----------~----~----~----~------~----~------~--~---
