On Jun 14, 7:55 am, Ali <[email protected]> wrote:
> I want it to accept nested attributes for a single (pre-defined)
> fact_value and update only that fact_value

I'm not sure exactly what the problem is. If you only want to update
one object, you only put that object in the fields_for(:fact_values)
part of the form.
If you're worried about the wrong object being created/updated through
accepts_nested_attributes, then the :reject_if can enable you to add
validation.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to