Hi Stefan, I just tested it in a subform and it seemed to work. I tested the default Hobo 2.0 (the code from the previous message in this thread was merged into master before releasing Hobo 2.0).
Maybe you are using a previous Hobo version? Did you customise the enum string input or are you using the default one that comes with Hobo? Could you copy some of the failing code? Thanks. Regards, Ignacio El 07/12/13 13:22, Stefan Haslinger escribió: > Ignacio, > > thanks, that helped me a lot. > But your solution fails, if the Enum lives in these subforms which are > generated by available => true > in a strange way: undefined method `map' for nil:NilClass > in the line of <%= options_for_select(options, this) %> (the third line > from the bottom) > > Capturing with a debugger gives me > (rdb:1) self > " \n " > (rdb:1) @this > nil > which puzzles me even more. > > Is there any more info that could be helpful? > > Muchos saludos, > Stefan > > -- > You received this message because you are subscribed to the Google > Groups "Hobo Users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/hobousers. > For more options, visit https://groups.google.com/groups/opt_out. -- Ignacio Huerta Arteche http://www.ihuerta.net Teléfono: 0034 645 70 77 35 Email realizado con software libre -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/hobousers. For more options, visit https://groups.google.com/groups/opt_out.
