Array of all objects showing up next to my form

Hi,

Sorry for the noob question, but this behavior is completely unexpected:

I have two forms in my application and both of them display an array of the elements associated with the model when I run the server. How do stop this behavior?

Thank you!

Tamas

@Tamas_Erdos, check your erb tags in the view.

You are likely using a <%= @something ... %> , probably in a loop, when you mean to use <% @something %>

If you can post the view code, it’ll be easier to point it out :slight_smile:

1 Like

@pedromoreira that was exactly it!

Thank you!

No problem, glad to help!