Hi!:
Im doing this on my custom controller:
def router
...
@licenses = License.find(result)
hobo_index @licenses, :paginate => false
end
And when invoking the "method", i get this:
undefined method `default_order' for #<Array:0x7f64e203c660>
Problem is here:
hobo (1.3.0.pre14) lib/hobo/controller/model.rb:454:in
`find_or_paginate'
hobo (1.3.0.pre14) lib/hobo/controller/model.rb:483:in `hobo_index'
app/controllers/licenses_controller.rb:23:in `router'
It seems find_or_paginate invokes a "default_order" method, but my
@licenses does not have that method.
What must i do to fix that? I just dont want pagination on that!
Thanks!
--
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.