Please sign in to comment.
Added a second parameter to the build and create method for has_one t…
…hat controls whether the existing association should be replaced (which means nullifying its foreign key as well). By default this is true, but false can be passed to prevent it. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1392 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
- Loading branch information...
Showing with 53 additions and 3 deletions.