Not quite sure how the name-one-local fits into the problem with select-many pulling all 32k+ possible relations from the DB. As I understand it, it just don't present a dropdown selector. But does the same as select-one when it comes to interaction with the server. And I'd have the same issue as I had before, with not being able to neatly put it into the form as a replacement for select-many.
But as it turns out I finally got my own form with a name-one working for adding relations on the show page. After fighting a bit to understand why it wasn't doing what I expected it to - which is always the major issue with these sorts of frameworks: Figuring out why nothing happens. On Sep 15, 3:33 pm, Bryan Larsen <[email protected]> wrote: > My first thought would be an input-many of name-one's. > > (or name-one-local: > http://www.mail-archive.com/[email protected]/msg05953.html) > > Bryan > > On Sep 15, 3:50 am, Tiran Kenja <[email protected]> wrote: > > > > > Hey. > > > I have been trying out Hobo to throw together a quick site to manage > > some information. But I have hit something of a roadblock when it > > comes to quickly making data-entry forms. > > > Specifically I have a many-to-many relation that I am accessing though > > a has_many :through and I added the :accessible => true to allow > > adding the relations directly on form of one of the ends of the > > relationship. > > > But the problem is that the other end of the relationship has 32000+ > > entries. And the <select-many> tag seems to mindlessly use a drop-down > > menu to show the all the options (not even restricting it to the first > > 100 like <select-one>). So I need a different solution. > > > I tried doing something like what is shown in "The Agility Tutorial" > > where an 'aside' is added to the page. But it does not actually show > > unless I wrap it in a couple more tags. And that will end up giving me > > whole new set of errors I am not really sure I understand. > > > So how is people handling this sort of scenario? -- 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.
