I am trying to use cocoon gem to build nested forms.   I have models for Organisation, Package::Bip and Tenor.  The associations are:  Organisation  has_many :bips, as: :ipable, class_name: Package::Bip     accepts_nested_attributes_for :bips,  rejec...
i have followed the railscasts episode on nested forms(part 1 and 2) and having difficulty with adding fields using jquery, however when i click the remove fields link, the field gets removed. Here is the code. In my question model i have  class Ques...
I'm trying to create a navigation menu editor comprised of multiple nested, sortable forms that will ultimately be submitted en masse as one giant nested JSON data blob containing all of the form data.  The two libraries I'm examining are nes...
I'm trying to implement Ryan's Railscast #197 in a system with Questions, Answers, and (multiple choice) Options. http://railscasts.com/episodes/197-nested-model-form-part-2.   I have successfully implemented the nesting among these forms/par...
I have a has_many through association and I'm getting an error because I'm not passing the :ingredient_id as an array (or something like that, it's just a guess :) )  Error:Couldn't find Ingredient with ID=1 for MealIngredient with ID...
I am trying to add the jquery-ui date picker to my application's nested form fields, however when I update the DOM with the new fields I do not get the date picker to show up on the fields that were created. Here is the code that I have working f...
I have an application in which I'm using the gems rails3-jquery-autocomplete and nested_form to suggest existing users to be tagged as contributors to a project entry.  The form view:  <%= f.fields_for :contributors do |contributor|%>     &...
I want a button that will render a new nested form every time it is clicked.  To do this I have used JQuery and am using Rails 3.2  On another thread someone said to use an ajax call "The onclick is executing in the browser so you're not goin...
Through a combination of logic and a lack of experience with JQuery/Javascript, I have found myself with this problem.  Background - I am using the Jquery-deep branch of Complex-Form-Examples, which enables a form that creates/edits records for multi...
Hey, this is the first time I've actually finished writing up a question without SO giving me the answer in the process. :)  I've got a nested form (along the lines of Ryan Bates' Railscast tutorial on the topic) which allows users to dyn...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.