Chad Fowler èãRails ã¬ã·ããã®ãã¬ã·ã 01 åä¸ç»é¢ã§ã®ãã©ã¼ã ç·¨éãã§åãä¸ãããã¦ããã¤ã³ãã¬ã¼ã¹ç·¨éæ©è½ãããã¯ãããã¬ã³ã¼ããå¤æ´ããã¨ãã«ãå¤æ´ç»é¢ã«ç»é¢é·ç§»ãããã¨ãªãããã®å ´ã§å¤æ´ãã§ããã¨ãã便å©ãªæ©è½ã ããã£ã¨ããAjax ããããæ©è½ã®ä¸ã¤ã§ã¯ãªãã ãããï¼ Rails 1.2 ã¾ã§ã¯æ¨æºã§ in_place_editor_field ã¨ããã¡ã½ããããã£ã¦ããã¥ã¼ã®ä¸ã§æ¬¡ã®ããã«ä½¿ããã¨ãã§ããã <%= javascript_include_tag :defaults %> <%= in_place_editor_field :book, :name %> ãã®ä¾ã§ã¯ Book ã¨ããã¢ãã«ã® name å±æ§ããã®å ´ã§ç·¨éãããã¨ãæ³å®ãã¦ããã Rails 2.0 ã«ãªã£ã¦ãin_place_editor_field ã¯ãã©ã°ã¤ã³ã«è¿½ãåºãã
{{#tags}}- {{label}}
{{/tags}}