No time to investigate now, but... what happens if you pass ::User.scoped to
1.3?

ciao
dd

On Mon, May 23, 2011 at 7:17 AM, Tomoaki Hayasaka <
[email protected]> wrote:

> Is passing an array to hobo_index invalid?  The Hobo Manual says:
>
> > hobo_index takes a “finder” as an optional first argument, and
> > then options. A finder is any object that supports the find and / or
> > paginate methods, such as an ActiveRecord model class, a has_many
> > association, or a scope.
>
> and I expect it is valid because there's Array#paginate.  But if I do
> it (hobo_index ::User.all, :paginate => true), I get:
>
>  Hobo 1.0.3: undefined method `scope' for #<Array:0xb69d3f6c>
>  Hobo 1.3pre31: NoMethodError (undefined method `default_order' for
> []:Array)
>
> -----
> Tomoaki Hayasaka <[email protected]>
>
> --
> 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.
>
>

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