Railsã§ãã¹ãããé¢é£å ã®ãã¼ãã«ãã¾ã¨ãã¦ä¿åãããæã«ä½¿ãã®ã accepts_nested_attributes_forã§ããããã便å©ã Railsã®ã½ã¼ã¹ã³ã¼ããè¦ãªãã使ãæ¹ãã¾ã¨ãã¦ã¿ã¾ããã ã³ã³ã½ã¼ã«ããè²ã 試ãã¦ã¿ã å®ç¾©ãã class User < ActiveRecord::Base has_one :profile has_many :academics accepts_nested_attributes_for :profile accepts_nested_attributes_for :academics end profile_attributes= 㨠academics_attributes= ã¡ã½ããã追å ããã $ rails c has_one ã®å ´å # ç»é²æ > params = { user: { name: 'Test', pro
{{#tags}}- {{label}}
{{/tags}}