i tried the plugin you suggested, which seems exactly what i'm looking for. but i got stuck:
my user model has this line belongs_to :cap_residenza, :class_name => 'Cap' and i added accepts_nested_reference_and_attributes_for :cap_residenza, :codice, :required => true in the form view i added this: <% f.fields_for :cap_residenza do |fr| %> <%= fr.label :cap %> <%= fr.text_field :codice %> <% end %> but nothing appears. if i change 'cap_residenza' with anything else the form shows up correctly (but it doesn't work, everything else is looking for cap_residenza i suppose). what am i missing? thank you -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.