Top "Nested-forms" questions

A form within another form, often in the ruby-on-rails environment.

PrimeFaces nested form inside p:dialog with appendTo="@(body)

I have this fragment: <h:form id="form"> <!-- other content --> <p:panel id="…

jsf primefaces dialog nested-forms jsf-2.2
fields_for not rendering - rails 3

Finally moved to Rails 3 for a new project and already running into a rookie problem. Trying to do a simple …

ruby-on-rails nested-forms fields-for
ActiveRecord::UnknownAttributeError

I'm trying to create hotel with some fields, one of the fields is photo, i want to use multiple files …

ruby-on-rails activerecord carrierwave nested-forms
Rails 3, nested multi-level forms and has_many through

I'm trying to get it to work but it dosen't! I have class User < ActiveRecord::Base has_many :events, :…

ruby-on-rails nested-forms has-many-through formtastic cocoon-gem
Rails: validate presence of parent_id in has_many association

I have a projects resource that has many tasks. I want to ensure that every task has a project_id …

ruby-on-rails validation models nested-forms
how to avoid saving empty records on a nested rails form

I'm using the nested_form gem for my AddressBook relation. When the user blanks out the value of an existing …

ruby-on-rails nested-forms
an example of a nested form in simple form?

I am still struggling both writing the controller and the actual form to be able to nest one form in …

ruby-on-rails nested-forms simple-form
Rails 3 Nested Models unknown attribute Error

I have a model "Issue" and a nested Model "Relationship" In the issue.rb I have mentioned: has_many :relationships, :…

ruby-on-rails ruby-on-rails-3 nested-forms railscasts
How to handle multiple models in one rails form?

I have the following models class Survey < ActiveRecord::Base has_many :survey_sections accepts_nested_attributes_for :survey_sections …

ruby-on-rails ruby nested-forms
expected Hash (got Array) for param 'samples'

I have been following Railscasts episodes of Nested forms and complex forms. During the time of creating multiple model in …

edit nested-forms ruby-on-rails-2