On May 28, 3:25 pm, Steve Russo <[email protected]> wrote: > I’ve been spending a great deal of time chasing this problem. Hopefully > someone sees something obvious I’m doing wrong. Basically anytime I try > to call fields_for from an RJS file or within a partial in the RJS file, > I get the following error. My goal is simply to load a partial into a > div. The fields in this partial require fields_for though. And that’s > where the problem lies. > > ActionView::TemplateError (undefined method `fields_for' for > "#<ActionView::Helpers::FormBuilder:0x944ea28>":String) on line #3 of
This is the hint: @form is not a form builder. it's a string containing the text "#<ActionView::Helpers::FormBuilder:0x944ea28>" Fred -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.

