How do you permit nester attributes in Rails controllers for such model? class User has_one :profile accepts_nested_attributes_for :profile end
Correct Answer: params.require(:user).permit(:email, profile_attributes: [:id, :_destroy])
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Ruby On Rails MCQ Questions