I\'ve come across a rather bizarre error. I have a nested form that works as expected except when a validation fails on an existing record. When a validation fails on an existing record, the re-render
Using Rails 2.3.8 Goal is to create a Blogger while simultaneously updating the nested User model (in case info has changed, etc.), OR create a brand new user if it doesn\'t exist yet.
Running on Rails 3.1 RC1 and following this. A user can have one or many emails. My email fields don\'t show in the form. No error is rendered.
Update: according to the stack trace, posted at the end of this question, I think the real problem is to figure out what attr_accessible and build association settings I need to get the contributors a
I\'m using nested_form for a situation where: Parent (climb) ==has_one==> Join Model (route_ascent) ==polymorphic has_many==> Children (route_step)
I\'m using Rails 3.0.7 with awesome_nested_set and I\'m trying to create a nested form which will allow me to enter a category and sub categories all in one create form.
I\'ve got a fairly simple nested form using formtastic. My models are class FieldMap < ActiveRecord::Base
This is my sign up form: <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
I\'ve been struggling with this far too long now. For the simplicity, suppose I have Lead The Jungle app in which users ask
My models seem correctly defined, because I can add as many products to an Announcement via console. MODELS