nested-forms
Problem with saving three level nested form in rails
I\'ve a three level nested form, but the third class is not saved. I\'ve three model classes (simplified)[详细]
2023-03-03 23:54 分类:问答rendering to a variable
I\'ve been trying to get a dynamic nested form working with ajax in rails 3. Originally I was following this example project and one of the helpers (add_task_link) looks really good, except that I ca[详细]
2023-03-03 03:24 分类:问答Rails problem accepts_nested_attributes_for
I have this problem: My web application has a form where the users can customize their profile. In each profile can be specified many skills and I want to allow the users to press one button (add new[详细]
2023-03-02 20:07 分类:问答Duplicate form fields when using fields_for
I am trying to create a nested form to handle a has_many :through relationship and getting duplicated fields being rendere开发者_运维百科d.[详细]
2023-03-02 16:52 分类:问答nested forms and one to one relationship
I have a one-to-one relationship between user and goal. I want to build a form that shows the goal of a user. The problem is that my code only works when the user already has a goal defined. The text[详细]
2023-03-02 04:35 分类:问答How to pass foreign key attributes down through a nested form in Rails 3
I have three models: class Client < ActiveRecord::Base has_many :balancesheets has_many :investment_assets, :through => :balancesheets[详细]
2023-03-01 09:28 分类:问答nested_form - edit action doesn't show nested elements
I have a nested_form where nested elements are dynamically added and removed in a form, using Javascript.[详细]
2023-02-28 18:24 分类:问答Nested forms fields_for :prices, repeat forms few time
i have many to many throught asociation and then i do this fields_for :device this displaying in good way, but i cannot save it i get unknown attribute :price[详细]
2023-02-28 16:50 分类:问答Rails accepts_nested_attributes_for return values for updated/inserted children
I\'am a stackoverflow newbie. Please be merciful ;-) I h开发者_如何学JAVAave a simple has_many association with accepts_nested_attributes_for. Everything works fine. But I what I really need are the[详细]
2023-02-28 00:53 分类:问答Deleting nested objects
I have a profile, and this profile has many cursos (courses). I show all the courses a profile has on the show.html.erb of this profile.[详细]
2023-02-27 02:32 分类:问答