Displaying objects in an array

Hi, I am a bit confused on exactly how this works out.
I have ObjectA which has_many :things and Thing belongs_to :object_a

So, what I want to do is display all the things that ObjectA has in a
text_area. When I have

<%= f.text_area(“things”) %>

I get a text_area with

#Thing:0x460efb0#Thing:0x460ef38

I want to display thing.name, but I’m stuck at this point.

Any help would be great, thanks.

~Jeremy

Jeremy W. wrote:

Hi, I am a bit confused on exactly how this works out.
I have ObjectA which has_many :things and Thing belongs_to :object_a

So, what I want to do is display all the things that ObjectA has in a
text_area. When I have

<%= f.text_area(“things”) %>

I get a text_area with

#Thing:0x460efb0#Thing:0x460ef38

I want to display thing.name, but I’m stuck at this point.

Any help would be great, thanks.

~Jeremy

sorry, I just realized that it says rails deployment, and not rails
development :slight_smile:

soo tired…