Hi,
on the home page you only see the 3 most recent lines for any model.

In app/views/front/index.dryml you can see

<collection:recent/>

In the hobo gem \lib\hobo\scopes\automatic_scopes you see it defined
as

          when "recent"
            def_scope do |*args|
              count = args.first || 3
              { :limit => count, :order =>
"[EMAIL PROTECTED] DESC" }
            end


So with my primitive knowledge of DRYML, I would do something like

<collection with="&this.recent(4)"/>

Not sure why
<collection with="&recent(4)"/>
doesn't work actually. But there are many "details" I don't fully
understand yet.

Regards,
Jurgen


On Oct 21, 6:48 pm, Jeff L <[EMAIL PROTECTED]> wrote:
> Hi:
>
> Continuing to work through the tutorial in detail.
>
> 1. I set up the status model and table according to the tutorial.
> 2. I entered four statuses using the home page link - <create a new
> story status>.
> 3. The first that I entered was 'new' and then three others. Only the
> three others display on the home page. I have made no view changes.
> 4. All four are available in the drop-down control on story pages and
> all assign OK.
>
> What might the problem on the home page be? Is it a problem with how
> Hobo automatically generates the view or did I do something incorrect?
>
> Thanks,
>
> Jeff Lapides
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to