I\'ve been following RailsCast 197 to try this nested models/forms and have cracked my head over this code for over 2 hours, but to no avail.What am I overlooking?
I\'ve got a nested form like this : <% form_for setup_training(@training), :url => admin_trainings_path, :html => { :class => :form } do |f| -%>
Intro I have an object @organization that has_many :quick_facts Basically, I want to produce a _form for each :quick_fact but with one save button, that saves all of the quick_facts.
I have two classes with a relation one-to-many. And I want to make a nested form to enter an object and some of others which are linked to it.
I\'m working with a nested form that encompasses a total of 7 models, each with different validations. When simply editing the form, the validations run and display fi开发者_如何学Cne, and data is sav
I\'m trying to implement a multistep form using a nested form, but since I\'m using a nested form, it\'s not working out like the railscast. I got this from railscast #217 (multistep form/wizards) htt
Trying to perform a nested object form. The page loads with no errors, but when I send it, no information gets saved to the organization model开发者_如何学运维.
I\'d like to generate a form with nested object forms like this (in haml): - form_for @parent do |parent_form|
Ive created a nested model form the RailsCasts Nested Model Form Part 2 example and have it working with Rails 3 and JQuery.Currently, a user can create a new project and click a link to add new tasks
I have a page that uses Ryan Bates nested_form plugin. The plugin is used when you have form based on one model and then additional fields that belong to another model. For example if I had a form tha