On Wednesday 24 February 2010 08:57:32 [email protected] wrote:
> If you are really on the latest version of activescaffold please try
> and set he following in your controller:
> conf.list.pagination = :infinite
> 
> Seems that AS Count query is making trouble.
> pagination = :infinite does not need a count query.

Volker, I updated to the latest version and tried it. It seems to work in 
those cases where the named_scope returns 0 records. In the other cases, 
there's still an "Unknown column 'catalog_items_catalog_items.catalog_item_id' 
in 'on clause'". I suppose that's still the same problem with my association 
not having a foreign_key.

Given that I do need pagination, I hope there's another way to make either the 
named_scope of the finder_sql work.

ben

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