Re: [Rails] accepts_nested_attributes_for doesn't show output

2011-07-21 Thread Tom Meinlschmidt
guy, you're using f.label, so then you have to use f.fields_for :something do |smth| smth.label :label, "description" smth.text_field ... On Jul 21, 2011, at 16:49 , Jen wrote: > Hi, > After getting nowhere I decided to follow this article: > > http://ryandaigle.com/articles/2009/2/1/wha

Re: [Rails] accepts_nested_attributes_for doesn't show output

2011-07-20 Thread Juan Alvarado
Sent from my iPad On Jul 19, 2011, at 6:33 PM, Jen wrote: > I forgot to mention that currently each of my tables is handled by a separate > controller. > > I thought this would be ok and anything entered in my resources _form partial > would be handled by the 'resources' controller etc. How

Re: [Rails] accepts_nested_attributes_for doesn't show output

2011-07-19 Thread Jen
I forgot to mention that currently each of my tables is handled by a separate controller. I thought this would be ok and anything entered in my resources _form partial would be handled by the 'resources' controller etc. However looking at the rails cast source code has confused me a bit, as it

Re: [Rails] accepts_nested_attributes_for doesn't show output

2011-07-19 Thread Jen
Hi Barney, I believe I am having the same problem you experienced, though my code is a little different. If you or anyone else can tell me how to solve it that would be great! I am creating a db of Universities and resources. One University can have many resources, but one resource can o

[Rails] accepts_nested_attributes_for doesn't show output

2011-07-17 Thread Barney
Hello, An earlier post where I asked how to put mulitple tables's input on one screen was answered with "accepts_nested_attributes_for" and that seems to be what I need, but nothing appears on the screen for the nested section. I've been using ideas from: http://masonoise.wordpress.com/2010/