Josh Sharpe
Not a member
Josh Sharpe's latest activity
Thursday, July 02 2009
-
Josh Sharpe commented at 8:35 PMI just want to quickly reiterate, to be really clear -- this issue only applies to has_one relations.
That said, passing :id as the option to decide whether or ...
-
Josh Sharpe commented at 4:31 PMThere are tests that explicitly test for this behavior making me think this is not a bug.
See nested_attributes_test.rb:
def test_should_not_replace_an_existin...
Monday, June 29 2009
2852
accepts_nested_attributes_for creating new associated record when one already...
was updated
in Ruby on Rails
-
- Tag changed from 2-3, accepts_nested_attributes_for, has_one, stable to 2-3, accepts_nested_attributes_for, has_one
-
Josh Sharpe created the ticket at 2:20 PMI'm seeing that updating nested attributes is creating additional rows for the nested object:
class Profile < ActiveRecord::Base has_one :address accepts_n...