é¢ä¿ãæã£ããã¼ãã«ã¨åºåæ¹æ³ã«ã¤ã㦠Railsåå¿è ã«ãããã¡ãªã¡ã¢ããããã ã¡ãªã¿ã«ãç°å¢ã¯ Ruby1.9.2 㨠Rails3 ã§ãã ãã¼ãã«éã®ãªã¬ã¼ã·ã§ã³ã«ã¤ã㦠ã¦ã¼ã¶æ å ±ãã¼ãã«ã¨ãã¦ã¼ã¶ãæã£ã¦ãææåã®ãã¼ãã«çãªãã®ãããã¨ãã¦ã é¢åãªã®ã§ã¹ã²ã¼é©å½ã ãã©ä»¥ä¸ã®ãããªå®ç¾©ã§ä½ã£ãã rails g scaffold user name:string item_id:integer rails g scaffold item name:string item_id 㯠items ãã¼ãã«ã® id ãå ¥ãã£ã¦ãã¨ãã users name:string item_id:integer items name:string ããã§ãã¦ã¼ã¶ã¯item_idã« items ãã¼ãã«ã®idãä¸ã¤ãã¤æãã model ã«é¢é£ãã¤ãã ãããã has_many ã¨ã ha
{{#tags}}- {{label}}
{{/tags}}