Do you need attr_accessible set for each field we want editable now? I added it to one of my models and its working now. I also tried generating a test resource and sure enough it was added to the model by the generator for that new models fields.
It's probably a good thing to have just not mentioned in the v2 changes list, or I missed where it was now needed. Bob On Saturday, October 6, 2012 11:45:29 AM UTC-4, Bryan Larsen wrote: > > Double check your permissions. That's the usual cause of that sort of > error. > > Bryan > > > On Sat, Oct 6, 2012 at 11:43 AM, Bob Sleys <[email protected] <javascript:>> > wrote: > > Sorry to be spamming but I can edit previous messages. > > > > Just noticed that form field lists, though listed in the dryml, are > coming > > out empty. It's not a css error as the html source for where the fields > > should be lists is simply blank. > > > > Ie the auto tag for the gym form is > > > > <def tag="form" for="Gym"> > > <form merge param="default"> > > <error-messages param/> > > <field-list fields="name, email, phone, address, notes, machines, > > tickets, users" param/> > > <div param="actions"> > > <submit label="#{ht 'gym.actions.save', :default=>['Save']}" > > param/><or-cancel param="cancel"/> > > </div> > > </form> > > </def> > > > > But I don't see the fields listed in the html. The hidden fields are > there > > but right after that is a blank row where the form fields should go and > then > > the actions, ie the save button. > > > > Bob > > > > On Tuesday, September 25, 2012 5:23:50 PM UTC-4, Bryan Larsen wrote: > >> > >> blog post here: http://hobocentral.net/blog/2012/09/25/2-0-0-pre2/ > >> > >> Note that Hobo/will_paginate is now required in your gemfile: > >> > >> gem "will_paginate", :git => "git:// > github.com/Hobo/will_paginate.git" > >> > >> Also note the new, very-cool, bottom-load-javascript option. > >> > >> cheers, > >> Bryan > > > > -- > > 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/-/rzGn9MlJYNsJ. > > > > To post to this group, send email to [email protected]<javascript:>. > > > To unsubscribe from this group, send email to > > [email protected] <javascript:>. > > 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/-/KCiYdmIJjgEJ. 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.
