I am sure that this is documented somewhere, but I can’t find it. I
have a class A that has references class B. Like, a.b.name. I was
wondering how to represent that with form_for?
<% form_for(@a) do |f| %>
<%= f.text_field “b.name” %>
<% end %>
That doesn’t work, but it kinda shows you what I am talking about.
Any help at all would be appreciated. Thanks!