I have a problem with nested forms: rails 3.1 doesn`t render fields_for blocks when it should (when editing existing record for example). Since I`m not confident enough in my english, I`ve made a smal
I have some troubles with :reject_if. I don\'t know why the following code doesn\'t work. View - _form.html.erb:
i have a form like this: <%= form_for @group, :url => { :controller => \"groups\", :action => \"create\" } do |f| %>
I cannot get the attributes given in a nested form to take. I haven\'t been able to find any other posts related to this issue with my exact configuration:
I have some models like class CompanyDepartment < ActiveRecord::Base belongs_to :company accepts_nested_attributes_for :phones, :allow_destroy => true
I\'ve been following along with the out-of-date railscasts: http://railscasts.com/episodes/197-nested-model-form-part-1
Hello People I\'ve working with jquery for a few days, and I\'ve found an example of dialog modal form that works fine. Here is the example.
I have a nested model form that isn\'t functioning properly. The POST is to the proper place, but then the GET reroutes me. So I\'m wondering if anyone can help explain what I\'m doing wrong.
Through other posts on SO I\'ve learned that my sign-up process using a nested model form is flawed in that I create a new User, then redirect to create its Profile. Here is the process:
I have a signup process that goes: user = User.new user.email = ... user.password = ... user.profile = Profile.new