Bryan,

I have got an error "undefined method `limit' for #<#<Class:
0x00000106ce71e0>:0x00000106cbaa78>" while using the client-side
autocomplete from this link 
http://www.mail-archive.com/[email protected]/msg05953.html

Thanks for your help.

Regards,
Bilal

On Feb 16, 10:59 am, Bryan Larsen <[email protected]> wrote:
> Hobo defaults to using a select-one input to display the select.   You
> can override that in that one place or globally:
>
> <extend tag="select-one">
>     <old-select-one limit="300" merge/>
> </extend>
>
> As a rule of thumb, if I have more than 30 entries and less than a few
> thousand, I prefer to use a client-sideautocomplete.   There's one
> here:  http://www.mail-archive.com/[email protected]/msg05953.html
>
> If there are more than a few thousand, I use a server sideautocomplete,
> aka name-one in Hobo.
>
> cheers,
> Bryan
>
> On 11-02-16 12:42 PM, Donald R. Ziesig wrote:
>
>
>
>
>
>
>
> > Hi All!
>
> > The US Postal Service has 200 different street types (ranging from Alley
> > to Wells). I have a table with all 200 names and official abbreviations
> > which has the following relationship:
>
> > model property.rb
>
> > belongs_to :street_type
>
> > model street_type.rb
>
> >has_many:properties
>
> > -----
>
> > This went well until I try to add Woodbury RD.
>
> > The drop down list for street_type goes from Alley to Lane (which
> > happens to be exactly the 1st through 100th entries in the table). I
> > can't see Streets, Roads, Places, or anything else in the 101st to 200th
> > entries which leaves the thing kinda useless.
>
> > There are some obvious hacks to get this to work for now (order the list
> > with the most commonly used types at the beginning, for one) but
> > eventually, someone will reach the end of the line and start yelling at
> > me ;-) .
>
> > Is there something I can change to allow the whole list to drop down?
>
> > Thanks,
>
> > Don Z

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