Try adding :accessible => true to your has_many and/or has many :through.
Bryan On Sun, Nov 18, 2012 at 4:56 PM, Jeremy Savoy <[email protected]> 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/-/9mdteBzAMDUJ. > 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. -- 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.
