Thanks Bryan, forgot that bit -- but still doesn't work. In fact, in 
application.dryml if I change 

<field-list: fields="foo1, foo2, bars">

to

<field-list: fields="foo1">

I still get my default fields for Foo -- foo1 and foo2 during a "new", but 
no bar obviously.

I have not tried this with the other themes, only bootstrap.

On Sunday, November 18, 2012 4:56:55 PM UTC-5, Jeremy Savoy wrote:
>
> Hi, I'm having trouble getting <select-many> to work in a new app using 
> hobo 2.0.0 pre6 and bootstrap.
>
> in my "foo" model I have ...
>
> has_many :foo_assignments, :dependent => :destroy
>   has_many :bars, :through => :foo_assignments
>
> in my "foo_assignment" model I have ...
>
> belongs_to :foo
> belongs_to :bar
>
> and in application.dryml I have ...
>
> <extend tag="form" for="Foo">
>   <old-form merge>
>     <field-list: fields="foo1, foo2, bars">
>       <bars-view:>
>         <select-many/>
>       </bars-view:>  
>     </field-list:>
>   </old-form>
> </extend>
>
> Each Foo can have many Bars, but each Bar can only belong to one Foo, so I 
> haven't put anything relational in my Bars model -- was considerings 
> "has_one" foo_assignments - that didn't make a difference for the 
> select-many.
>
> I'm assuming my errors are in application.dryml, but the code runs fine 
> but the select-many never shows up. I'm sure it's something simple, any 
> ideas ?
>

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/hobousers/-/_iskhz6nJ-kJ.
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