Hmm... Well, the form shows up and I'm able to create new instances but then I cannot edit them. The form is there for editing but nothing is saving.
I have accessible => true set in both the parent and child models (for has_many :through relationship). I have attr_accessible set for all fields in the child model. The update permissions are set to true for the child model. Is there something else I'm overlooking?? On Friday, April 6, 2012 10:17:25 AM UTC-7, Jim Harvey wrote: > > That did the trick! Thank you Bryan. > > On Friday, April 6, 2012 9:53:51 AM UTC-7, Bryan Larsen wrote: >> >> Try using something other than "type" as the name. I wouldn't be >> surprised if it's used for something else in Ruby, Rails or Hobo. >> >> Bryan >> >> >> On Fri, Apr 6, 2012 at 1:29 AM, Jim Harvey <[email protected]> wrote: >> > I have this in my model >> > >> > fields do >> > name :string >> > url :string >> > type enum_string(:good, :bad, :ugly) >> > end >> > >> > There is no controller for this model. The only way to create a new >> instance >> > is in the context of an associated model, where I have this in >> new.dryml and >> > edit.dryml >> > >> > <foo-view:><input-many fields="name,url,type"/></input-many> >> > >> > I was hoping to get a select menu for type but nothing appears. Is it >> > possible to have an input for an EnumString in this context? Let me >> know if >> > I am doing something wrong. Thanks!! >> > >> > >> > -- >> > 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/-/zpYHtj5QPSoJ. >> > 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 view this discussion on the web visit https://groups.google.com/d/msg/hobousers/-/Jv-tQrOWWCoJ. 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.
