[Rails] Re: undefined method error from atom builder

2009-07-18 Thread Marnen Laibow-Koser
Nathan Beyer wrote: [...] > In any case, this was a "manually" > created model, instead of using the Rails script, so that's why it was > missing for me. No. script/generate model doesn't generate map.resources statements. You always have to do those yourself if you want them. Best, -- Marnen

[Rails] Re: undefined method error from atom builder

2009-07-18 Thread Nathan Beyer
Thanks. I was missing the map.resources to that model. I didn't add a helper and it still seems to work. In any case, this was a "manually" created model, instead of using the Rails script, so that's why it was missing for me. Thanks again. On Jul 12, 8:40 pm, Frederick Cheung wrote: > On Jul 1

[Rails] Re: undefined method error from atom builder

2009-07-12 Thread Frederick Cheung
On Jul 13, 2:12 am, Nathan Beyer wrote: > I have a simple controller that takes a request, looks up some data > and then returns the results as either HTML or Atom. The HTML response > works fine, but the Atom Builder is blowing up with an undefined > method error that I can't figure out. It se